Skip to content

Commit 8cdda8d

Browse files
committed
use latest golangci-lint
1 parent 858a481 commit 8cdda8d

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/golangci-lint.yml

+3-4
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,14 @@ on:
1212

1313
permissions:
1414
contents: read
15+
pull-requests: read # for golangci/golangci-lint-action to fetch pull requests
1516

1617
jobs:
1718
golangci:
18-
permissions:
19-
contents: read # for actions/checkout to fetch code
20-
pull-requests: read # for golangci/golangci-lint-action to fetch pull requests
2119
name: lint
2220
runs-on: ubuntu-latest
2321
steps:
2422
- uses: actions/checkout@v4
23+
- uses: actions/setup-go@v5
2524
- name: golangci-lint
26-
uses: golangci/golangci-lint-action@v6
25+
uses: golangci/golangci-lint-action@v6.5.0

0 commit comments

Comments
 (0)