Skip to content

Commit 6f4c813

Browse files
committed
chore: update golangci-lint
1 parent ffcca02 commit 6f4c813

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

.github/workflows/golangci-lint.yml

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,26 @@
11
name: golangci-lint
22
on:
3+
workflow_dispatch:
34
pull_request:
45

5-
permissions:
6-
contents: read
7-
pull-requests: read
6+
permissions: {}
87

98
jobs:
109
golangci:
1110
name: lint
1211
runs-on: ubuntu-latest
12+
permissions:
13+
contents: read
1314
steps:
14-
- uses: actions/checkout@v4
15+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1516
with:
1617
fetch-depth: 0
17-
- uses: actions/setup-go@v5
18+
- uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0
1819
with:
19-
go-version: '1.23'
20+
go-version: stable
2021
- name: golangci-lint
21-
uses: golangci/golangci-lint-action@v6
22+
uses: golangci/golangci-lint-action@4696ba8babb6127d732c3c6dde519db15edab9ea # v6.5.1
2223
with:
23-
version: v1.60
24-
args: --timeout=30m --new-from-rev=${{ github.event.pull_request.base.sha }}
25-
github-token: ${{ secrets.GITHUB_TOKEN }}
24+
version: latest
25+
install-mode: binary
26+
args: --timeout=30m

0 commit comments

Comments
 (0)