Update cli.yml
This commit is contained in:
parent
d648edd48d
commit
97faf22319
10
.github/workflows/cli.yml
vendored
10
.github/workflows/cli.yml
vendored
@ -16,7 +16,7 @@ jobs:
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-latest, macos-latest, windows-latest]
|
||||
go: [1.11, 1.12, 1.13]
|
||||
go: [1.12, 1.13, 1.14]
|
||||
name: ${{ matrix.os }} @ Go ${{ matrix.go }}
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
@ -39,7 +39,7 @@ jobs:
|
||||
ref: ${{ github.ref }}
|
||||
|
||||
- name: GOFMT Check
|
||||
if: matrix.go == 1.13 && matrix.os == 'ubuntu-latest'
|
||||
if: matrix.go == 1.14 && matrix.os == 'ubuntu-latest'
|
||||
run: test -z $(gofmt -l .)
|
||||
|
||||
- name: vet
|
||||
@ -52,7 +52,7 @@ jobs:
|
||||
run: go run internal/build/build.go check-binary-size
|
||||
|
||||
- name: Upload coverage to Codecov
|
||||
if: success() && matrix.go == 1.13 && matrix.os == 'ubuntu-latest'
|
||||
if: success() && matrix.go == 1.14 && matrix.os == 'ubuntu-latest'
|
||||
uses: codecov/codecov-action@v1
|
||||
with:
|
||||
token: 0a8cc73b-bb7c-480b-8626-38a461643761
|
||||
@ -62,10 +62,10 @@ jobs:
|
||||
name: test-docs
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Set up Go 1.13
|
||||
- name: Set up Go 1.14
|
||||
uses: actions/setup-go@v1
|
||||
with:
|
||||
go-version: 1.13
|
||||
go-version: 1.14
|
||||
|
||||
- name: Use Node.js 12.x
|
||||
uses: actions/setup-node@v1
|
||||
|
Loading…
Reference in New Issue
Block a user