Skip to content

Commit b5ecd23

Browse files
authored
Fix GoLint errors/warnings (#171)
1 parent 0f76730 commit b5ecd23

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/build-test.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ jobs:
1313
permissions:
1414
contents: read # for actions/checkout to fetch code
1515
pull-requests: read # for golangci/golangci-lint-action to fetch pull requests
16+
checks: write # for golangci/golangci-lint-action to annotate Pull Requests
1617
name: Lint Go code
1718
runs-on: ubuntu-latest
1819
steps:
@@ -21,9 +22,9 @@ jobs:
2122
- name: Setup Golang
2223
uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.0
2324
- name: Run golangci-lint
24-
uses: golangci/golangci-lint-action@639cd343e1d3b897ff35927a75193d57cfcba299 # v3.6.0
25+
uses: golangci/golangci-lint-action@3cfe3a4abbb849e10058ce4af15d205b6da42804 # v4.0.0
2526
with:
26-
version: v1.53
27+
version: v1.54
2728
args: --timeout 10m --exclude SA5011 --verbose --issues-exit-code=0
2829
only-new-issues: true
2930

0 commit comments

Comments
 (0)