Skip to content

Commit

Permalink
fix staticcheck version
Browse files Browse the repository at this point in the history
  • Loading branch information
DMarinhoCodacy committed Mar 16, 2023
1 parent 3bb21bd commit 7ccdf09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ runs:
if [ "${{ inputs.run-staticcheck }}" == "true" ]; then
cd /tmp
go install honnef.co/go/tools/cmd/staticcheck@latest
go install honnef.co/go/tools/cmd/staticcheck@2023.1.2
chmod +x /home/runner/go/bin/staticcheck
CODACY_STATICCHECK_VERSION=$(curl -SL "https://artifacts.codacy.com/bin/codacy-staticcheck/latest" -o-)
curl -fsSL "https://artifacts.codacy.com/bin/codacy-staticcheck/$CODACY_STATICCHECK_VERSION/codacy-staticcheck-$CODACY_STATICCHECK_VERSION" -o /tmp/codacy-staticcheck
Expand Down

0 comments on commit 7ccdf09

Please sign in to comment.