Skip to content

Commit e60f96b

Browse files
update go version 1.20 ⬆️ (#2)
1 parent 8acac7b commit e60f96b

File tree

4 files changed

+27
-8
lines changed

4 files changed

+27
-8
lines changed

.github/workflows/.golangci.yaml

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
run:
2+
timeout: 5m
3+
linters:
4+
disable-all: true
5+
enable:
6+
- errcheck
7+
- ineffassign
8+
- misspell
9+
- unparam
10+
- nakedret
11+
- prealloc
12+
- goimports
13+
- goconst
14+
- gocyclo
15+
- bodyclose
16+
- godot
17+
- thelper
18+
- predeclared

.github/workflows/actions.yml .github/workflows/actions.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ jobs:
1111
check-latest: true
1212
go-version-file: go.mod
1313
- uses: golangci/golangci-lint-action@v3
14+
with:
15+
args: -c ./.github/workflows/.golangci.yaml
1416
test:
1517
name: test
1618
runs-on: ubuntu-latest
@@ -22,4 +24,3 @@ jobs:
2224
go-version-file: go.mod
2325
- name: Test
2426
run: go test -v ./...
25-

go.mod

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
module github.com/satorunooshie/asn
22

3-
go 1.19
3+
go 1.20
44

55
require github.com/lestrrat-go/jwx/v2 v2.0.8
66

77
require (
88
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.1.0 // indirect
9-
github.com/goccy/go-json v0.10.0 // indirect
9+
github.com/goccy/go-json v0.10.1 // indirect
1010
github.com/lestrrat-go/blackmagic v1.0.1 // indirect
1111
github.com/lestrrat-go/httpcc v1.0.1 // indirect
1212
github.com/lestrrat-go/httprc v1.0.4 // indirect
1313
github.com/lestrrat-go/iter v1.0.2 // indirect
1414
github.com/lestrrat-go/option v1.0.1 // indirect
15-
golang.org/x/crypto v0.0.0-20220722155217-630584e8d5aa // indirect
15+
golang.org/x/crypto v0.7.0 // indirect
1616
)

go.sum

+4-4
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ github.com/decred/dcrd/crypto/blake256 v1.0.0/go.mod h1:sQl2p6Y26YV+ZOcSTP6thNdn
55
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.1.0 h1:HbphB4TFFXpv7MNrT52FGrrgVXF1owhMVTHFZIlnvd4=
66
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.1.0/go.mod h1:DZGJHZMqrU4JJqFAWUS2UO1+lbSKsdiOoYi9Zzey7Fc=
77
github.com/goccy/go-json v0.9.11/go.mod h1:6MelG93GURQebXPDq3khkgXZkazVtN9CRI+MGFi0w8I=
8-
github.com/goccy/go-json v0.10.0 h1:mXKd9Qw4NuzShiRlOXKews24ufknHO7gx30lsDyokKA=
9-
github.com/goccy/go-json v0.10.0/go.mod h1:6MelG93GURQebXPDq3khkgXZkazVtN9CRI+MGFi0w8I=
8+
github.com/goccy/go-json v0.10.1 h1:lEs5Ob+oOG/Ze199njvzHbhn6p9T+h64F5hRj69iTTo=
9+
github.com/goccy/go-json v0.10.1/go.mod h1:6MelG93GURQebXPDq3khkgXZkazVtN9CRI+MGFi0w8I=
1010
github.com/lestrrat-go/blackmagic v1.0.1 h1:lS5Zts+5HIC/8og6cGHb0uCcNCa3OUt1ygh3Qz2Fe80=
1111
github.com/lestrrat-go/blackmagic v1.0.1/go.mod h1:UrEqBzIR2U6CnzVyUtfM6oZNMt/7O7Vohk2J0OGSAtU=
1212
github.com/lestrrat-go/httpcc v1.0.1 h1:ydWCStUeJLkpYyjLDHihupbn2tYmZ7m22BGkcvZZrIE=
@@ -31,8 +31,8 @@ github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO
3131
github.com/stretchr/testify v1.8.1 h1:w7B6lhMri9wdJUVmEZPGGhZzrYTPvgJArz7wNPgYKsk=
3232
github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4=
3333
golang.org/x/crypto v0.0.0-20220427172511-eb4f295cb31f/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4=
34-
golang.org/x/crypto v0.0.0-20220722155217-630584e8d5aa h1:zuSxTR4o9y82ebqCUJYNGJbGPo6sKVl54f/TVDObg1c=
35-
golang.org/x/crypto v0.0.0-20220722155217-630584e8d5aa/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4=
34+
golang.org/x/crypto v0.7.0 h1:AvwMYaRytfdeVt3u6mLaxYtErKYjxA2OXjJ1HHq6t3A=
35+
golang.org/x/crypto v0.7.0/go.mod h1:pYwdfH91IfpZVANVyUOhSIPZaFoJGxTFbZhFTx+dXZU=
3636
golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
3737
golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
3838
golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=

0 commit comments

Comments
 (0)