Skip to content

Commit bf7f2ca

Browse files
committed
Update golanci-lint to v2.
Signed-off-by: SuperQ <[email protected]>
1 parent 7e9b56c commit bf7f2ca

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Diff for: .github/workflows/golangci-lint.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
run: sudo apt-get update && sudo apt-get -y install libsnmp-dev
3434
if: github.repository == 'prometheus/snmp_exporter'
3535
- name: Lint
36-
uses: golangci/golangci-lint-action@55c2c1448f86e01eaae002a5a3a9624417608d84 # v6.5.2
36+
uses: golangci/golangci-lint-action@1481404843c368bc19ca9406f87d6e0fc97bdcfd # v7.0.0
3737
with:
3838
args: --verbose
39-
version: v1.64.6
39+
version: v2.0.2

Diff for: .golangci.yml

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
version: "2"

0 commit comments

Comments
 (0)