Skip to content

Commit

Permalink
add go 1.20/1.21 build/testing for github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
t2y authored and leodido committed Jan 25, 2024
1 parent 87e1d5e commit 261d5de
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,14 @@ jobs:
fail-fast: true
matrix:
os: [ubuntu-latest, macos-latest]
go: ['1.16', '1.17', '1.18', '1.19']
go: [
'1.16',
'1.17',
'1.18',
'1.19',
'1.20',
'1.21',
]
include:
# Set the minimum Go patch version for the given Go minor
- go: '1.16'
Expand All @@ -26,6 +33,10 @@ jobs:
GO_VERSION: '~1.18.0'
- go: '1.19'
GO_VERSION: '~1.19.0'
- go: '1.20'
GO_VERSION: '~1.20.0'
- go: '1.21'
GO_VERSION: '~1.21.0'
runs-on: ${{ matrix.os }}

steps:
Expand Down Expand Up @@ -66,4 +77,4 @@ jobs:
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true
verbose: true
verbose: true

0 comments on commit 261d5de

Please sign in to comment.