Skip to content

Commit d544ce0

Browse files
committed
ci: run staticcheck on go code
1 parent 453ae3a commit d544ce0

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/vectorlint.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,20 @@ jobs:
2222
- uses: geomys/sandboxed-step@v1.2.1
2323
with:
2424
run: go run golang.org/x/vuln/cmd/govulncheck@latest ./...
25+
gostaticcheck:
26+
runs-on: ubuntu-latest
27+
steps:
28+
- uses: actions/checkout@v5
29+
with:
30+
persist-credentials: false
31+
32+
- uses: actions/setup-go@v6
33+
with:
34+
go-version: stable
35+
36+
- uses: geomys/sandboxed-step@v1.2.1
37+
with:
38+
run: go run honnef.co/go/tools/cmd/staticcheck@latest ./...
2539
golint:
2640
runs-on: ubuntu-latest
2741
steps:

0 commit comments

Comments
 (0)