Merge pull request 'ci: add vet and pinned staticcheck checks' (#20) from feat/issue-18-ci-vet-staticcheck into main

Reviewed-on: #20
Reviewed-by: codex <39+codex@noreply.localhost>
This commit was merged in pull request #20.
This commit is contained in:
2026-04-28 09:55:00 +07:00
+19
View File
@@ -27,3 +27,22 @@ jobs:
with:
go-version-file: go.mod
- run: go test ./...
vet:
runs-on: linux
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
- run: go vet ./...
staticcheck:
runs-on: linux
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
- run: go install honnef.co/go/tools/cmd/staticcheck@2025.1.1
- run: $(go env GOPATH)/bin/staticcheck ./...