File tree Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -13,16 +13,15 @@ jobs:
1313 strategy :
1414 fail-fast : false
1515 matrix :
16- go : ["1.18.x ", "1.19.x ", "1.20.x "]
16+ go : ["1.19 ", "1.20 ", "1.21 "]
1717 steps :
1818 - name : Checkout
19- uses : actions/checkout@v3
19+ uses : actions/checkout@v4
2020 - name : Setup Go
2121 uses : actions/setup-go@v4
2222 with :
2323 go-version : " ${{ matrix.go }}"
2424 check-latest : true
25- cache : true
2625 - name : Check Go code formatting
2726 run : |
2827 if [ "$(gofmt -s -l . | wc -l)" -gt 0 ]; then
3433 run : |
3534 go install github.com/mfridman/tparse@latest
3635 go vet ./...
37- go test -v -race -count=1 -json -coverpkg=$(go list ./...) ./... | tee output.json | tparse -follow -notests || true
36+ go test -v -race -count=1 -json -cover ./... | tee output.json | tparse -follow -notests || true
3837 tparse -format markdown -file output.json -all > $GITHUB_STEP_SUMMARY
3938 go build ./...
4039 coverage :
Original file line number Diff line number Diff line change @@ -10,13 +10,12 @@ jobs:
1010 runs-on : ubuntu-latest
1111 steps :
1212 - name : Checkout code
13- uses : actions/checkout@v3
13+ uses : actions/checkout@v4
1414 - name : Setup Go
1515 uses : actions/setup-go@v4
1616 with :
17- go-version : " 1.20.x "
17+ go-version : " 1.21 "
1818 check-latest : true
19- cache : true
2019 - name : golangci-lint
2120 uses : golangci/golangci-lint-action@v3
2221 with :
You can’t perform that action at this time.
0 commit comments