ci: update golangci-lint version (#3282)

Co-authored-by: Piotr Galar <piotr.galar@gmail.com>
This commit is contained in:
web3-bot
2025-05-30 14:03:06 +02:00
committed by GitHub
parent 853011ae73
commit 4c254930f0

View File

@@ -27,7 +27,7 @@ jobs:
matrix:
go: [ "1.23.x", "1.24.x" ]
env:
GOLANGCI_LINT_VERSION: v2.0.2
GOLANGCI_LINT_VERSION: v2.1.0
name: golangci-lint (Go ${{ matrix.go }})
steps:
- uses: actions/checkout@v4
@@ -35,14 +35,14 @@ jobs:
with:
go-version: ${{ matrix.go }}
- name: golangci-lint (Linux)
uses: golangci/golangci-lint-action@v7
uses: golangci/golangci-lint-action@v8
with:
args: --timeout=5m
version: ${{ env.GOLANGCI_LINT_VERSION }}
only-new-issues: true
- name: golangci-lint (Windows)
if: success() || failure() # run this step even if the previous one failed
uses: golangci/golangci-lint-action@v7
uses: golangci/golangci-lint-action@v8
env:
GOOS: "windows"
with:
@@ -51,7 +51,7 @@ jobs:
only-new-issues: true
- name: golangci-lint (OSX)
if: success() || failure() # run this step even if the previous one failed
uses: golangci/golangci-lint-action@v7
uses: golangci/golangci-lint-action@v8
env:
GOOS: "darwin"
with: