File tree Expand file tree Collapse file tree 4 files changed +15
-14
lines changed Expand file tree Collapse file tree 4 files changed +15
-14
lines changed Original file line number Diff line number Diff line change 99 lint :
1010 runs-on : ubuntu-latest
1111 steps :
12- - uses : actions/checkout@v3
13- - uses : actions/setup-go@v3
12+ - uses : actions/checkout@v4
13+ - uses : actions/setup-go@v5
1414 with :
15- go-version : 1.21.6
16- - uses : golangci/golangci-lint-action@v3
15+ go-version : 1.23.4
16+ - uses : golangci/golangci-lint-action@v6
1717 with :
18- version : v1.55.1
18+ version : v1.62.2
Original file line number Diff line number Diff line change @@ -3,12 +3,12 @@ service:
33
44run :
55 timeout : 2m
6- skip -dirs :
6+ exclude -dirs :
77 - vendor
88
99linters-settings :
1010 govet :
11- check-shadowing : true
11+ shadow : true
1212 revive :
1313 min-confidence : 0.1
1414 rules :
@@ -28,12 +28,10 @@ linters-settings:
2828linters :
2929 enable :
3030 - bodyclose
31- - megacheck
3231 - revive
3332 - govet
3433 - unconvert
35- - megacheck
36- - gas
34+ - gosec
3735 - gocyclo
3836 - dupl
3937 - misspell
@@ -42,7 +40,6 @@ linters:
4240 - ineffassign
4341 - stylecheck
4442 - gochecknoinits
45- - exportloopref
4643 - gocritic
4744 - nakedret
4845 - gosimple
@@ -51,6 +48,8 @@ linters:
5148 - goimports
5249 - gofmt
5350 - errcheck
51+ - staticcheck
52+ - exportloopref
5453
5554 fast : false
5655 disable-all : true
Original file line number Diff line number Diff line change @@ -10,7 +10,9 @@ require (
1010 // stable version. After the release of version 0.5.1 or later, it will be
1111 // necessary to update to the stable version.
1212 // https://github.com/piprate/json-gold/commit/36fcca9d7e487684a764e552e7d837a14546a157
13- github.com/piprate/json-gold v0.5.1-0.20230111113000-6ddbe6e6f19f
13+ // and this
14+ // https://github.com/piprate/json-gold/commit/19254b3ec65b01ad353de8412ae7ba10857258cf
15+ github.com/piprate/json-gold v0.5.1-0.20241210232033-19254b3ec65b
1416 github.com/pkg/errors v0.9.1
1517 github.com/pquerna/cachecontrol v0.0.0-20180517163645-1555304b9b35
1618 github.com/santhosh-tekuri/jsonschema/v5 v5.3.0
Original file line number Diff line number Diff line change @@ -16,8 +16,8 @@ github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
1616github.com/leanovate/gopter v0.2.9 h1:fQjYxZaynp97ozCzfOyOuAGOU4aU/z37zf/tOujFk7c =
1717github.com/mr-tron/base58 v1.2.0 h1:T/HDJBh4ZCPbU39/+c3rRvE0uKBQlU27+QI8LJ4t64o =
1818github.com/mr-tron/base58 v1.2.0 /go.mod h1:BinMc/sQntlIE1frQmRFPUoPA1Zkr8VRgBdjWI2mNwc =
19- github.com/piprate/json-gold v0.5.1-0.20230111113000-6ddbe6e6f19f h1:HlPa7RcxTCrva5izPfTEfvYecO7LTahgmMRD1Qp13xg =
20- github.com/piprate/json-gold v0.5.1-0.20230111113000-6ddbe6e6f19f /go.mod h1:WZ501QQMbZZ+3pXFPhQKzNwS1+jls0oqov3uQ2WasLs =
19+ github.com/piprate/json-gold v0.5.1-0.20241210232033-19254b3ec65b h1:xyh6boGzDR4EpdEDe9ix1KhHNgOSiBjBocahA6FalEQ =
20+ github.com/piprate/json-gold v0.5.1-0.20241210232033-19254b3ec65b /go.mod h1:RVhE35veDX19r5gfUAR+IYHkAUuPwJO8Ie/qVeFaIzw =
2121github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4 =
2222github.com/pkg/errors v0.9.1 /go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0 =
2323github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM =
You can’t perform that action at this time.
0 commit comments