ci: add vet and pinned staticcheck checks #20

Merged
thuanle merged 4 commits from feat/issue-18-ci-vet-staticcheck into main 2026-04-28 09:55:00 +07:00
Showing only changes of commit 6c6a6280b6 - Show all commits
+10
View File
@@ -36,3 +36,13 @@ jobs:
with: with:
go-version-file: go.mod go-version-file: go.mod
- run: go vet ./... - 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 ./...