Update CI Go versions to 20 and 21 (#529)

This commit is contained in:
Atsushi Watanabe
2023-10-03 13:02:33 +09:00
committed by GitHub
parent b4770e5fbf
commit d0c1677cfb

View File

@@ -14,8 +14,8 @@ jobs:
fail-fast: false fail-fast: false
matrix: matrix:
go: go:
- '1.18' - '1.20'
- '1.19' - '1.21'
name: Linux Go ${{ matrix.go }} name: Linux Go ${{ matrix.go }}
steps: steps:
- name: Checkout - name: Checkout
@@ -35,7 +35,7 @@ jobs:
- name: Run Test Suite - name: Run Test Suite
run: make test run: make test
- uses: codecov/codecov-action@v3 - uses: codecov/codecov-action@v3
if: matrix.go == '1.19' if: matrix.go == '1.21'
build-darwin: build-darwin:
strategy: strategy:
fail-fast: false fail-fast: false
@@ -44,8 +44,8 @@ jobs:
- macos-latest - macos-latest
- ['self-hosted', 'macOS', 'ARM64'] - ['self-hosted', 'macOS', 'ARM64']
go: go:
- '1.18' - '1.20'
- '1.19' - '1.21'
runs-on: ${{ matrix.runs-on }} runs-on: ${{ matrix.runs-on }}
name: Darwin Go ${{ matrix.go }} ${{ join(matrix.runs-on, ' ') }} name: Darwin Go ${{ matrix.go }} ${{ join(matrix.runs-on, ' ') }}
steps: steps:
@@ -111,7 +111,7 @@ jobs:
- name: Setup Go - name: Setup Go
uses: actions/setup-go@v4 uses: actions/setup-go@v4
with: with:
go-version: '1.19' go-version: '1.21'
- name: Installing go-licenses - name: Installing go-licenses
run: go install github.com/google/go-licenses@latest run: go install github.com/google/go-licenses@latest
- name: Checking licenses - name: Checking licenses