Skip to content

Commit

Permalink
Add permission, bump staticcheck version
Browse files Browse the repository at this point in the history
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
  • Loading branch information
chivalryq committed Jul 26, 2023
1 parent 62227a6 commit c3c173f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/code-lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ on:
- main
- release-*
workflow_dispatch: { }
permissions:
contents: read

env:
# Common versions
Expand Down
2 changes: 1 addition & 1 deletion makefiles/dependency.mk
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ ifeq (, $(shell which staticcheck))
@{ \
set -e ;\
echo 'installing honnef.co/go/tools/cmd/staticcheck ' ;\
go install honnef.co/go/tools/cmd/staticcheck@v0.3.0 ;\
go install honnef.co/go/tools/cmd/staticcheck@v0.4.3 ;\
}
STATICCHECK=$(GOBIN)/staticcheck
else
Expand Down

0 comments on commit c3c173f

Please sign in to comment.