Skip to content

Commit af1015c

Browse files
committed
Update golangci-lint and zerolint version
Signed-off-by: Oliver Eikemeier <[email protected]>
1 parent e9db998 commit af1015c

File tree

8 files changed

+18
-34
lines changed

8 files changed

+18
-34
lines changed

.codeclimate.yml

Lines changed: 0 additions & 17 deletions
This file was deleted.

.custom-gcl.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
version: v2.1.6
2+
version: v2.2.1
33
plugins:
44
- module: fillmore-labs.com/zerolint-golangci-plugin
55
path: .

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
runs-on: ubuntu-24.04
1919
strategy:
2020
matrix:
21-
go-version: ["1.24.3", "1.23.9"]
21+
go-version: ["1.24.4", "1.23.10"]
2222
env:
2323
GOTOOLCHAIN: local
2424
steps:
@@ -31,7 +31,7 @@ jobs:
3131
- name: 🧸 golangci-lint
3232
uses: golangci/golangci-lint-action@v8
3333
with:
34-
version: v2.1.6
34+
version: v2.2.1
3535
args: --config=.golangci-default.yaml
3636
- name: 🔨 Test
3737
run: golangci-lint custom -v && ./custom-gcl run -v .

.golangci-default.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ linters:
1818
- nonamedreturns
1919
- varnamelen
2020
- wrapcheck
21+
- wsl
2122
settings:
2223
errcheck:
2324
exclude-functions:

.golangci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
version: "2"
33

44
run:
5-
go: 1.23.9
5+
go: 1.23.10
66
modules-download-mode: readonly
77

88
linters:

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ Add a file `.custom-gcl.yaml` to your source with
1010

1111
```YAML
1212
---
13-
version: v2.1.6
13+
version: v2.2.1
1414
plugins:
1515
- module: fillmore-labs.com/zerolint-golangci-plugin
16-
version: v0.0.9
16+
version: v0.0.12
1717
```
1818
1919
then run `golangci-lint custom`. You get an `custom-gcl` executable that can be configured in `.golangci.yaml`:

go.mod

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ module fillmore-labs.com/zerolint-golangci-plugin
22

33
go 1.23.0
44

5-
toolchain go1.24.3
5+
toolchain go1.24.4
66

77
require (
8-
fillmore-labs.com/zerolint v0.0.9
8+
fillmore-labs.com/zerolint v0.0.12
99
github.com/golangci/plugin-module-register v0.1.2
10-
golang.org/x/tools v0.33.0
10+
golang.org/x/tools v0.34.0
1111
)

go.sum

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
fillmore-labs.com/zerolint v0.0.9 h1:sh6jTmGHWEsMxQYSfsOmF9zyOZoQNXOPE5wP3W1MF1s=
2-
fillmore-labs.com/zerolint v0.0.9/go.mod h1:0V0kIS+x40wjQjQJGcAK0V9/H1T6rAvoy5oQo9Ue+5A=
1+
fillmore-labs.com/zerolint v0.0.12 h1:cjC/ii5mq4I0TpSLlfxBzOr6TzCYMDhjKmfhYrvsRRw=
2+
fillmore-labs.com/zerolint v0.0.12/go.mod h1:unfJD2odQcKFpnv/zG6h9dUt8uBVt/gUb334C/3LTns=
33
github.com/golangci/plugin-module-register v0.1.2 h1:e5WM6PO6NIAEcij3B053CohVp3HIYbzSuP53UAYgOpg=
44
github.com/golangci/plugin-module-register v0.1.2/go.mod h1:1+QGTsKBvAIvPvoY/os+G5eoqxWn70HYDm2uvUyGuVw=
5-
golang.org/x/mod v0.24.0 h1:ZfthKaKaT4NrhGVZHO1/WDTwGES4De8KtWO0SIbNJMU=
6-
golang.org/x/mod v0.24.0/go.mod h1:IXM97Txy2VM4PJ3gI61r1YEk/gAj6zAHN3AdZt6S9Ww=
7-
golang.org/x/sync v0.14.0 h1:woo0S4Yywslg6hp4eUFjTVOyKt0RookbpAHG4c1HmhQ=
8-
golang.org/x/sync v0.14.0/go.mod h1:1dzgHSNfp02xaA81J2MS99Qcpr2w7fw1gpm99rleRqA=
9-
golang.org/x/tools v0.33.0 h1:4qz2S3zmRxbGIhDIAgjxvFutSvH5EfnsYrRBj0UI0bc=
10-
golang.org/x/tools v0.33.0/go.mod h1:CIJMaWEY88juyUfo7UbgPqbC8rU2OqfAV1h2Qp0oMYI=
5+
golang.org/x/mod v0.25.0 h1:n7a+ZbQKQA/Ysbyb0/6IbB1H/X41mKgbhfv7AfG/44w=
6+
golang.org/x/mod v0.25.0/go.mod h1:IXM97Txy2VM4PJ3gI61r1YEk/gAj6zAHN3AdZt6S9Ww=
7+
golang.org/x/sync v0.15.0 h1:KWH3jNZsfyT6xfAfKiz6MRNmd46ByHDYaZ7KSkCtdW8=
8+
golang.org/x/sync v0.15.0/go.mod h1:1dzgHSNfp02xaA81J2MS99Qcpr2w7fw1gpm99rleRqA=
9+
golang.org/x/tools v0.34.0 h1:qIpSLOxeCYGg9TrcJokLBG4KFA6d795g0xkBkiESGlo=
10+
golang.org/x/tools v0.34.0/go.mod h1:pAP9OwEaY1CAW3HOmg3hLZC5Z0CCmzjAF2UQMSqNARg=

0 commit comments

Comments
 (0)