File tree Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change 14
14
15
15
jobs :
16
16
golangci :
17
+ permissions :
18
+ contents : read # for actions/checkout to fetch code
19
+ pull-requests : read # for golangci/golangci-lint-action to fetch pull requests
17
20
name : lint
18
21
runs-on : ubuntu-latest
19
22
steps :
20
23
- name : Checkout repository
21
- uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
22
- - name : install Go
23
- uses : actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 # v3.5 .0
24
+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
25
+ - name : Install Go
26
+ uses : actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2 .0
24
27
with :
25
- go-version : 1.22
28
+ go-version : 1.23.x
26
29
- name : Install snmp_exporter/generator dependencies
27
30
run : sudo apt-get update && sudo apt-get -y install libsnmp-dev
28
31
if : github.repository == 'prometheus/snmp_exporter'
29
32
- name : Lint
30
- uses : golangci/golangci-lint-action@3a919529898de77ec3da873e3063ca4b10e7f5cc # v3.7.0
33
+ uses : golangci/golangci-lint-action@971e284b6050e8a5849b72094c50ab08da042db8 # v6.1.1
31
34
with :
32
- version : v1.54.2
35
+ args : --verbose
36
+ version : v1.62.0
You can’t perform that action at this time.
0 commit comments