Test on Go 1.16 and 1.15

This commit is contained in:
Atsushi Watanabe
2021-03-21 18:19:23 +09:00
parent 94c6b66e46
commit ba848b3416

View File

@@ -13,7 +13,7 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
go: [ '1.15', '1.14' ] go: [ '1.16', '1.15' ]
name: Linux Go ${{ matrix.go }} name: Linux Go ${{ matrix.go }}
steps: steps:
- name: Checkout - name: Checkout
@@ -33,13 +33,13 @@ jobs:
- name: Run Test Suite - name: Run Test Suite
run: make test run: make test
- uses: codecov/codecov-action@v1 - uses: codecov/codecov-action@v1
if: matrix.go == '1.15' if: matrix.go == '1.16'
build-darwin: build-darwin:
runs-on: macos-latest runs-on: macos-latest
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
go: [ '1.15', '1.14' ] go: [ '1.16', '1.15' ]
name: Darwin Go ${{ matrix.go }} name: Darwin Go ${{ matrix.go }}
steps: steps:
- name: Checkout - name: Checkout
@@ -66,7 +66,7 @@ jobs:
- name: Setup Go - name: Setup Go
uses: actions/setup-go@v2 uses: actions/setup-go@v2
with: with:
go-version: '1.15' go-version: '1.16'
- name: Installing go-licenses - name: Installing go-licenses
run: go get github.com/google/go-licenses run: go get github.com/google/go-licenses
- name: Checking licenses - name: Checking licenses