Skip to content

Commit

Permalink
Bump Go version range in CI to 1.15-1.17
Browse files Browse the repository at this point in the history
  • Loading branch information
rliebz committed Jan 4, 2022
1 parent e8d8173 commit b9389ef
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/cli.yml
Expand Up @@ -15,7 +15,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
go: [1.14, 1.15, 1.16]
go: [1.15, 1.16, 1.17]
name: ${{ matrix.os }} @ Go ${{ matrix.go }}
runs-on: ${{ matrix.os }}
steps:
Expand All @@ -38,7 +38,7 @@ jobs:
ref: ${{ github.ref }}

- name: GOFMT Check
if: matrix.go == 1.16 && matrix.os == 'ubuntu-latest'
if: matrix.go == 1.17 && matrix.os == 'ubuntu-latest'
run: test -z $(gofmt -l .)

- name: vet
Expand All @@ -51,7 +51,7 @@ jobs:
run: go run internal/build/build.go check-binary-size

- name: Upload coverage to Codecov
if: success() && matrix.go == 1.16 && matrix.os == 'ubuntu-latest'
if: success() && matrix.go == 1.17 && matrix.os == 'ubuntu-latest'
uses: codecov/codecov-action@v1
with:
fail_ci_if_error: true
Expand All @@ -63,8 +63,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v1
with:
# Currently fails on 1.16
go-version: 1.15
go-version: 1.17

- name: Use Node.js 12.x
uses: actions/setup-node@v1
Expand Down

0 comments on commit b9389ef

Please sign in to comment.