File tree Expand file tree Collapse file tree 3 files changed +12
-13
lines changed
Expand file tree Collapse file tree 3 files changed +12
-13
lines changed Original file line number Diff line number Diff line change 1212jobs :
1313 run :
1414 runs-on : ubuntu-latest
15+ strategy :
16+ matrix :
17+ go : [ '1.20', '1.21', '1.22' ]
1518
1619 steps :
1720 - name : Checkout code
2023 - name : Install Go
2124 uses : actions/setup-go@v3
2225 with :
23- go-version : ${{ env.GO_VERSION }}
26+ go-version : ${{ matrix.go }}
2427
2528 - name : Go Format
2629 run : gofmt -s -w . && git diff --exit-code
3942
4043 - name : Install govulncheck
4144 run : go install golang.org/x/vuln/cmd/govulncheck@latest
45+
4246 - name : Run govulncheck
4347 run : govulncheck ./...
4448
Original file line number Diff line number Diff line change @@ -2,9 +2,6 @@ module github.com/sashamelentyev/usestdlibvars
22
33go 1.20
44
5- require golang.org/x/tools v0.12 .0
5+ require golang.org/x/tools v0.17 .0
66
7- require (
8- golang.org/x/mod v0.12.0 // indirect
9- golang.org/x/sys v0.11.0 // indirect
10- )
7+ require golang.org/x/mod v0.15.0 // indirect
Original file line number Diff line number Diff line change 1- golang.org/x/mod v0.12.0 h1:rmsUpXtvNzj340zd98LZ4KntptpfRHwpFOHG188oHXc =
2- golang.org/x/mod v0.12.0 /go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs =
3- golang.org/x/sync v0.3.0 h1:ftCYgMx6zT/asHUrPw8BLLscYtGznsLAnjq5RH9P66E =
4- golang.org/x/sys v0.11.0 h1:eG7RXZHdqOJ1i+0lgLgCpSXAp6M3LYlAo6osgSi0xOM =
5- golang.org/x/sys v0.11.0 /go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg =
6- golang.org/x/tools v0.12.0 h1:YW6HUoUmYBpwSgyaGaZq1fHjrBjX1rlpZ54T6mu2kss =
7- golang.org/x/tools v0.12.0 /go.mod h1:Sc0INKfu04TlqNoRA1hgpFZbhYXHPr4V5DzpSBTPqQM =
1+ golang.org/x/mod v0.15.0 h1:SernR4v+D55NyBH2QiEQrlBAnj1ECL6AGrA5+dPaMY8 =
2+ golang.org/x/mod v0.15.0 /go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c =
3+ golang.org/x/sync v0.6.0 h1:5BMeUDZ7vkXGfEr1x9B4bRcTH4lpkTkpdh0T/J+qjbQ =
4+ golang.org/x/tools v0.17.0 h1:FvmRgNOcs3kOa+T20R1uhfP9F6HgG2mfxDv1vrx1Htc =
5+ golang.org/x/tools v0.17.0 /go.mod h1:xsh6VxdV005rRVaS6SSAf9oiAqljS7UZUacMZ8Bnsps =
You can’t perform that action at this time.
0 commit comments