Skip to content

Commit

Permalink
chore: test on multi go versions
Browse files Browse the repository at this point in the history
  • Loading branch information
jiro4989 committed Apr 25, 2024
1 parent 71d8341 commit 42e34d1
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,22 @@ jobs:

test:
runs-on: ubuntu-latest
strategy:
matrix:
go:
- '1.18'
- '1.19'
- '1.20'
- '1.21'
- '1.22'
- '1.x'
steps:
- uses: actions/checkout@v2

- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.18
go-version: ${{ matrix.go }}
stable: false

- name: Build
Expand All @@ -35,3 +44,4 @@ jobs:
file: ./cover.out
flags: unittests
verbose: true
if: matrix.go == '1.18'

0 comments on commit 42e34d1

Please sign in to comment.