1010jobs :
1111 amd64_job :
1212 name : Go-${{matrix.GOVER}}/amd64
13- runs-on : ubuntu-20 .04
13+ runs-on : ubuntu-22 .04
1414 strategy :
1515 matrix :
16- GOVER : ['1.19 ', '1.18 ', '1.17 ']
16+ GOVER : ['1.20 ', '1.19 ', '1.18 ']
1717 steps :
1818 - name : Setup Go-${{ matrix.GOVER }}
1919 uses : actions/setup-go@v3
2424 - name : Linting
2525 uses : golangci/golangci-lint-action@v3
2626 with :
27- version : v1.49
27+ version : v1.50
2828 args : --config=./.etc/golangci.yml ./...
2929 - name : Check shadowing
3030 run : |
@@ -43,11 +43,11 @@ jobs:
4343 run : go test -v -count=1 ./...
4444 exotic_job :
4545 name : Go-${{matrix.CFG[2]}}/${{matrix.CFG[0]}}
46- needs : [ amd64_job ]
47- runs-on : ubuntu-20 .04
46+ needs : [amd64_job]
47+ runs-on : ubuntu-22 .04
4848 strategy :
4949 matrix :
50- CFG : [ [arm64,arm64v8,1.19] ]
50+ CFG : [[arm64, arm64v8, 1.20] ]
5151 steps :
5252 - uses : actions/checkout@v3
5353 - name : Enabling Docker Experimental
@@ -63,17 +63,17 @@ jobs:
6363 run : |
6464 docker run --rm -v `pwd`:`pwd` -w `pwd` ${{matrix.CFG[1]}}/golang:${{matrix.CFG[2]}} go test -v ./...
6565 coverage_amd64_job :
66- needs : [ amd64_job ]
66+ needs : [amd64_job]
6767 if : github.event_name == 'push'
68- runs-on : ubuntu-20 .04
68+ runs-on : ubuntu-22 .04
6969 name : amd64/coverage
7070 steps :
7171 - name : Checkout
7272 uses : actions/checkout@v3
7373 - name : Setup Go
7474 uses : actions/setup-go@v3
7575 with :
76- go-version : ' 1.19 '
76+ go-version : ' 1.20 '
7777 - name : Produce Coverage
7878 run : go test -coverprofile=./coverage.txt ./...
7979 - name : Upload Codecov
8282 file : ./coverage.txt
8383 osCompat :
8484 runs-on : ${{ matrix.os }}
85- needs : [ amd64_job ]
85+ needs : [amd64_job]
8686 name : Running on ${{ matrix.os }}
8787 strategy :
8888 matrix :
9393 - name : Setup Go
9494 uses : actions/setup-go@v3
9595 with :
96- go-version : ' 1.19 '
96+ go-version : ' 1.20 '
9797 - name : Building
9898 run : go build -v ./...
9999 - name : Testing
0 commit comments