Skip to content

Commit 3fdd110

Browse files
committed
chore: update project infrastructure
1 parent c9001ef commit 3fdd110

3 files changed

Lines changed: 11 additions & 8 deletions

File tree

.github/workflows/main.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ jobs:
1818
- oldstable
1919
runs-on: ubuntu-latest
2020
steps:
21-
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8
22-
- uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00
21+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
22+
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
2323
with:
2424
go-version: ${{ matrix.go-version }}
2525
- name: build
@@ -29,7 +29,7 @@ jobs:
2929
lint:
3030
runs-on: ubuntu-latest
3131
steps:
32-
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8
33-
- uses: golangci/golangci-lint-action@4afd733a84b1f43292c63897423277bb7f4313a9
32+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
33+
- uses: golangci/golangci-lint-action@1e7e51e771db61008b38414a730f564565cf7c20 # v9.2.0
3434
with:
35-
version: v2.4.0
35+
version: v2.12.2

.golangci.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ linters:
3232
- godot
3333
- goheader
3434
- gomoddirectives
35-
- gomodguard
35+
- gomodguard_v2
3636
- goprintffuncname
3737
- gosec
3838
- gosmopolitan
@@ -42,11 +42,13 @@ linters:
4242
- inamedparam
4343
- interfacebloat
4444
- intrange
45+
- iotamixing
4546
- ireturn
4647
- loggercheck
4748
- makezero
4849
- mirror
4950
- misspell
51+
- modernize
5052
- musttag
5153
- nakedret
5254
- nilerr
@@ -77,13 +79,15 @@ linters:
7779
- tparallel
7880
- unconvert
7981
- unparam
82+
- unqueryvet
8083
- usestdlibvars
8184
- usetesting
8285
- wastedassign
8386
- whitespace
8487
- zerologlint
8588
disable:
8689
- arangolint
90+
- clickhouselint
8791
- cyclop
8892
- depguard
8993
- exhaustruct
@@ -104,7 +108,6 @@ linters:
104108
- testpackage
105109
- varnamelen
106110
- wrapcheck
107-
- wsl
108111
- wsl_v5
109112
exclusions:
110113
generated: lax

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/twpayne/go-jsonstruct/v3
22

3-
go 1.24
3+
go 1.25
44

55
tool github.com/twpayne/go-jsonstruct/v3/cmd/gojsonstruct
66

0 commit comments

Comments
 (0)