Skip to content

Commit

Permalink
Merge pull request #432 from runkecheng/fix_static_check
Browse files Browse the repository at this point in the history
workflow: Specify version of staticcheck. #431
  • Loading branch information
andyli029 authored Mar 31, 2022
2 parents fcc5416 + 9aff314 commit 2e89d69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/code_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
uses: actions/checkout@v1

- name: Install staticcheck
run: go install honnef.co/go/tools/cmd/staticcheck@latest
run: go install honnef.co/go/tools/cmd/staticcheck@2020.2.1

- name: Run staticcheck
run: staticcheck -f stylish ./...

0 comments on commit 2e89d69

Please sign in to comment.