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 1414
1515jobs :
1616 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
1720 name : lint
1821 runs-on : ubuntu-latest
1922 steps :
2023 - 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
2427 with :
25- go-version : 1.22
28+ go-version : 1.23.x
2629 - name : Install snmp_exporter/generator dependencies
2730 run : sudo apt-get update && sudo apt-get -y install libsnmp-dev
2831 if : github.repository == 'prometheus/snmp_exporter'
2932 - name : Lint
30- uses : golangci/golangci-lint-action@3a919529898de77ec3da873e3063ca4b10e7f5cc # v3.7.0
33+ uses : golangci/golangci-lint-action@971e284b6050e8a5849b72094c50ab08da042db8 # v6.1.1
3134 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