x/.gitea/workflows/build.yaml

18 lines
409 B
YAML
Raw Permalink Normal View History

2024-04-27 02:20:51 -04:00
name: Go
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
2024-09-29 15:02:35 -04:00
go-version: [ '1.23' ]
2024-04-27 02:20:51 -04:00
steps:
- uses: actions/checkout@v4
- name: Setup Go ${{ matrix.go-version }}
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
- name: Build
run: go build -v ./...
- name: Test
2024-04-27 18:43:57 -04:00
run: go test -v ./...