Skip to content

Commit 8cf028c

Browse files
committed
project: install staticcheck in release workflow
1 parent 1d23cce commit 8cf028c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@ jobs:
2121
go-version-file: go.mod
2222
cache: true
2323

24+
- name: Install staticcheck
25+
run: |
26+
go install honnef.co/go/tools/cmd/staticcheck@v0.7.0
27+
echo "$(go env GOPATH)/bin" >> "$GITHUB_PATH"
28+
2429
- name: Run tests
2530
run: make test
2631

0 commit comments

Comments
 (0)