mirror of
https://gitee.com/johng/gf
synced 2026-06-07 02:12:11 +08:00
github ci action updates
This commit is contained in:
6
.github/workflows/go.yml
vendored
6
.github/workflows/go.yml
vendored
@ -37,7 +37,7 @@ jobs:
|
||||
# strategy set
|
||||
strategy:
|
||||
matrix:
|
||||
go: ["1.14", "1.15", "1.16"]
|
||||
go: ["1.14", "1.15", "1.16", "1.17"]
|
||||
|
||||
steps:
|
||||
- name: Set Up Timezone
|
||||
@ -67,5 +67,7 @@ jobs:
|
||||
run: GOARCH=amd64 go test -v ./... -race -coverprofile=coverage.txt -covermode=atomic
|
||||
|
||||
- name: Report Coverage
|
||||
run: bash <(curl -s https://codecov.io/bash)
|
||||
uses: codecov/codecov-action@v2
|
||||
with:
|
||||
flags: go-${{ matrix.go }}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user