diff --git a/.gitea/workflows/test.yml b/.gitea/workflows/test.yml new file mode 100644 index 0000000..85c9ce1 --- /dev/null +++ b/.gitea/workflows/test.yml @@ -0,0 +1,12 @@ +name: test +on: [push] + +jobs: + test: + # The runner on the VPS: jobs run on the host with Go and gcc provided, + # so there is no setup-go step. + runs-on: native + steps: + - uses: actions/checkout@v4 + - run: go vet ./... + - run: go test -race ./...