ci: add GitHub Actions test workflow

This commit is contained in:
2026-02-23 18:09:26 +00:00
parent 264cb81514
commit f1718526a7

16
.github/workflows/test.yml vendored Normal file
View File

@@ -0,0 +1,16 @@
name: Test
on:
push:
branches: [master]
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
- run: go test -race ./...
- run: go vet ./...
- run: go build ./...