Skip to content

Commit 65a8c2f

Browse files
committed
chore: update golangci-lint
1 parent 1ddf159 commit 65a8c2f

File tree

1 file changed

+12
-8
lines changed

1 file changed

+12
-8
lines changed
Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,26 @@
11
name: golangci-lint
22
on:
3-
push:
4-
branches:
5-
- main
6-
- master
3+
workflow_dispatch:
74
pull_request:
85

6+
permissions: {}
7+
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/setup-go@v5
15+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
16+
with:
17+
fetch-depth: 0
18+
- uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0
1619
with:
1720
go-version: stable
1821
- name: golangci-lint
19-
uses: golangci/golangci-lint-action@v6
22+
uses: golangci/golangci-lint-action@4696ba8babb6127d732c3c6dde519db15edab9ea # v6.5.1
2023
with:
21-
version: v1.61
24+
version: latest
25+
install-mode: binary
2226
args: --timeout=30m

0 commit comments

Comments
 (0)