Skip to content

Commit e0fc2c4

Browse files
chore(go-ci): add staticcheck installation to CI workflow for enhanced static analysis
1 parent c33f1bd commit e0fc2c4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/go-ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ jobs:
2626
run: |
2727
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/HEAD/install.sh | sh -s v2.1.6
2828
29+
- name: Install staticcheck
30+
run: go install honnef.co/go/tools/cmd/staticcheck@latest
31+
2932
- name: Run gofmt, golangci-lint, and staticcheck
3033
run: |
3134
chmod +x ./scripts/lint-go.sh

0 commit comments

Comments
 (0)