Skip to content

Commit

Permalink
Update zerolint version
Browse files Browse the repository at this point in the history
Signed-off-by: Oliver Eikemeier <[email protected]>
  • Loading branch information
eikemeier committed Sep 2, 2024
1 parent ac2b9af commit e6e21f1
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 36 deletions.
2 changes: 1 addition & 1 deletion .custom-gcl.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
version: v1.59.1
version: v1.60.1
plugins:
- module: fillmore-labs.com/zerolint-golangci-plugin
path: .
7 changes: 0 additions & 7 deletions .github/codecov.yml

This file was deleted.

8 changes: 0 additions & 8 deletions .github/renovate.json

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
runs-on: ubuntu-24.04
strategy:
matrix:
go: ["1.22", "1.21"]
go: ["1.23", "1.22"]
env:
GOTOOLCHAIN: local
steps:
Expand All @@ -32,7 +32,7 @@ jobs:
- name: 🧸 golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: v1.59.1
version: v1.60.1
args: --config=.golangci-default.yaml
- name: 🔨 Test
run: golangci-lint custom -v && ./custom-gcl run -v .
3 changes: 0 additions & 3 deletions .golangci-default.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@ linters:
- varnamelen
- wrapcheck
- wsl
# Go 1.22
- copyloopvar
- intrange
linters-settings:
govet:
enable-all: true
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ Add a file `.custom-gcl.yaml` to your source with

```YAML
---
version: v1.59.1
version: v1.60.1
plugins:
- module: fillmore-labs.com/zerolint-golangci-plugin
version: v0.0.2
version: v0.0.3
```
then run `golangci-lint custom`. You get an `custom-gcl` executable that can be configured in `.golangci.yaml`:
Expand All @@ -32,7 +32,7 @@ linters-settings:
excluded: []
```

and used like `golangci-lint`:
and can be used like `golangci-lint`:

```shell
./custom-gcl run .
Expand Down
8 changes: 4 additions & 4 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
module fillmore-labs.com/zerolint-golangci-plugin

go 1.21
go 1.22

toolchain go1.22.5
toolchain go1.23.0

require (
fillmore-labs.com/zerolint v0.0.2
fillmore-labs.com/zerolint v0.0.3
github.com/golangci/plugin-module-register v0.1.1
golang.org/x/tools v0.23.0
golang.org/x/tools v0.24.0
)
16 changes: 8 additions & 8 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
fillmore-labs.com/zerolint v0.0.2 h1:Wgg5K92ENelyg6GqybOLdj4kn3fsXtQAPyNxOmcO//M=
fillmore-labs.com/zerolint v0.0.2/go.mod h1:HT5XckGjAEW+twhXtryNQzphPzHjCw5ccFZUqel3Kis=
fillmore-labs.com/zerolint v0.0.3 h1:SLCJA66I4nMahf+uBbuhStDxV+P9bKZzI0ox+rkicnY=
fillmore-labs.com/zerolint v0.0.3/go.mod h1:uG/Zq5BdtVpPjYfo//pHAZdhtacBah4YMvpzNZz3nS8=
github.com/golangci/plugin-module-register v0.1.1 h1:TCmesur25LnyJkpsVrupv1Cdzo+2f7zX0H6Jkw1Ol6c=
github.com/golangci/plugin-module-register v0.1.1/go.mod h1:TTpqoB6KkwOJMV8u7+NyXMrkwwESJLOkfl9TxR1DGFc=
golang.org/x/mod v0.19.0 h1:fEdghXQSo20giMthA7cd28ZC+jts4amQ3YMXiP5oMQ8=
golang.org/x/mod v0.19.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c=
golang.org/x/sync v0.7.0 h1:YsImfSBoP9QPYL0xyKJPq0gcaJdG3rInoqxTWbfQu9M=
golang.org/x/sync v0.7.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk=
golang.org/x/tools v0.23.0 h1:SGsXPZ+2l4JsgaCKkx+FQ9YZ5XEtA1GZYuoDjenLjvg=
golang.org/x/tools v0.23.0/go.mod h1:pnu6ufv6vQkll6szChhK3C3L/ruaIv5eBeztNG8wtsI=
golang.org/x/mod v0.20.0 h1:utOm6MM3R3dnawAiJgn0y+xvuYRsm1RKM/4giyfDgV0=
golang.org/x/mod v0.20.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c=
golang.org/x/sync v0.8.0 h1:3NFvSEYkUoMifnESzZl15y791HH1qU2xm6eCJU5ZPXQ=
golang.org/x/sync v0.8.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk=
golang.org/x/tools v0.24.0 h1:J1shsA93PJUEVaUSaay7UXAyE8aimq3GW0pjlolpa24=
golang.org/x/tools v0.24.0/go.mod h1:YhNqVBIfWHdzvTLs0d8LCuMhkKUgSUKldakyV7W/WDQ=

0 comments on commit e6e21f1

Please sign in to comment.