Skip to content

Commit 27114bd

Browse files
committed
chore: update linter
1 parent 8b22e6f commit 27114bd

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/lint.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ permissions:
1212
contents: read
1313

1414
env:
15-
GOLANGCI_LINT_VERSION: v2.0
15+
GOLANGCI_LINT_VERSION: v2.4
1616
CGO_ENABLED: 0
1717

1818
jobs:
@@ -24,7 +24,7 @@ jobs:
2424
name: lint
2525
runs-on: ${{ matrix.os }}
2626
steps:
27-
- uses: actions/checkout@v4
27+
- uses: actions/checkout@v5
2828
- uses: actions/setup-go@v5
2929
with:
3030
go-version: ${{ matrix.go }}
@@ -37,6 +37,6 @@ jobs:
3737
git diff --exit-code go.sum
3838
3939
- name: golangci-lint
40-
uses: golangci/golangci-lint-action@v7
40+
uses: golangci/golangci-lint-action@v8
4141
with:
4242
version: ${{ env.GOLANGCI_LINT_VERSION }}

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
os: [ubuntu-latest, macos-latest, windows-latest]
2424
runs-on: ${{ matrix.os }}
2525
steps:
26-
- uses: actions/checkout@v4
26+
- uses: actions/checkout@v5
2727
- uses: actions/setup-go@v5
2828
with:
2929
go-version: ${{ matrix.go-version }}

.golangci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ linters:
7676
- wastedassign
7777
- whitespace
7878
- wrapcheck
79-
- wsl
79+
- wsl_v5
8080

8181
settings:
8282
cyclop:

0 commit comments

Comments
 (0)