Skip to content

Commit b82162d

Browse files
committed
Update zerolint version
Signed-off-by: Oliver Eikemeier <[email protected]>
1 parent 20835df commit b82162d

File tree

8 files changed

+25
-20
lines changed

8 files changed

+25
-20
lines changed

.custom-gcl.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
version: v1.61.0
2+
version: v1.62.0
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: ["1.23", "1.22"]
21+
go: ["1.23.3", "1.22.9"]
2222
env:
2323
GOTOOLCHAIN: local
2424
steps:
@@ -32,7 +32,7 @@ jobs:
3232
- name: 🧸 golangci-lint
3333
uses: golangci/golangci-lint-action@v6
3434
with:
35-
version: v1.61.0
35+
version: v1.62.0
3636
args: --config=.golangci-default.yaml
3737
- name: 🔨 Test
3838
run: golangci-lint custom -v && ./custom-gcl run -v .

.golangci-default.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,7 @@ linters:
55
enable-all: true
66
disable:
77
# deprecated
8-
- execinquery
98
- exportloopref
10-
- gomnd
119
# disabled
1210
- depguard
1311
- dupl

.golangci.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
---
22
run:
3+
go: "1.22.9"
34
modules-download-mode: readonly
45
linters:
56
enable:
67
- zerolint
78
linters-settings:
89
custom:
910
zerolint:
10-
type: "module"
11+
type: module
1112
settings:
1213
excluded: []
1314
basic: true

.prettierrc.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,9 @@ overrides:
77
- files: "*.md"
88
options:
99
tabWidth: 2
10+
- files: "*.yaml"
11+
options:
12+
tabWidth: 2
13+
- files: "*.yml"
14+
options:
15+
tabWidth: 2

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: v1.61.0
13+
version: v1.62.0
1414
plugins:
1515
- module: fillmore-labs.com/zerolint-golangci-plugin
16-
version: v0.0.5
16+
version: v0.0.6
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: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
module fillmore-labs.com/zerolint-golangci-plugin
22

3-
go 1.22.7
3+
go 1.22.9
44

5-
toolchain go1.23.1
5+
toolchain go1.23.3
66

77
require (
8-
fillmore-labs.com/zerolint v0.0.5
8+
fillmore-labs.com/zerolint v0.0.6
99
github.com/golangci/plugin-module-register v0.1.1
10-
golang.org/x/tools v0.25.0
10+
golang.org/x/tools v0.27.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.5 h1:+MuKofZiuKQF6+5Xu0rtE82sVx2UlBcvF/1dK7x6pOQ=
2-
fillmore-labs.com/zerolint v0.0.5/go.mod h1:SOKYmjl0BNu50oBlKGUoAMhY2yepZwbANWCsMbSwLOE=
1+
fillmore-labs.com/zerolint v0.0.6 h1:pFGSYnXtnpMuzo5NxJ1IDMaOA3DZuijL1IJm1h1l/yY=
2+
fillmore-labs.com/zerolint v0.0.6/go.mod h1:bX+KNByQeomQ6eDFkfw+OORPA1J4UIN1pSdPZz0wo9M=
33
github.com/golangci/plugin-module-register v0.1.1 h1:TCmesur25LnyJkpsVrupv1Cdzo+2f7zX0H6Jkw1Ol6c=
44
github.com/golangci/plugin-module-register v0.1.1/go.mod h1:TTpqoB6KkwOJMV8u7+NyXMrkwwESJLOkfl9TxR1DGFc=
5-
golang.org/x/mod v0.21.0 h1:vvrHzRwRfVKSiLrG+d4FMl/Qi4ukBCE6kZlTUkDYRT0=
6-
golang.org/x/mod v0.21.0/go.mod h1:6SkKJ3Xj0I0BrPOZoBy3bdMptDDU9oJrpohJ3eWZ1fY=
7-
golang.org/x/sync v0.8.0 h1:3NFvSEYkUoMifnESzZl15y791HH1qU2xm6eCJU5ZPXQ=
8-
golang.org/x/sync v0.8.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk=
9-
golang.org/x/tools v0.25.0 h1:oFU9pkj/iJgs+0DT+VMHrx+oBKs/LJMV+Uvg78sl+fE=
10-
golang.org/x/tools v0.25.0/go.mod h1:/vtpO8WL1N9cQC3FN5zPqb//fRXskFHbLKk4OW1Q7rg=
5+
golang.org/x/mod v0.22.0 h1:D4nJWe9zXqHOmWqj4VMOJhvzj7bEZg4wEYa759z1pH4=
6+
golang.org/x/mod v0.22.0/go.mod h1:6SkKJ3Xj0I0BrPOZoBy3bdMptDDU9oJrpohJ3eWZ1fY=
7+
golang.org/x/sync v0.9.0 h1:fEo0HyrW1GIgZdpbhCRO0PkJajUS5H9IFUztCgEo2jQ=
8+
golang.org/x/sync v0.9.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk=
9+
golang.org/x/tools v0.27.0 h1:qEKojBykQkQ4EynWy4S8Weg69NumxKdn40Fce3uc/8o=
10+
golang.org/x/tools v0.27.0/go.mod h1:sUi0ZgbwW9ZPAq26Ekut+weQPR5eIM6GQLQ1Yjm1H0Q=

0 commit comments

Comments
 (0)