Skip to content

Commit

Permalink
Update test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
samber authored Jun 27, 2024
1 parent 30e3c24 commit e54cd76
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,19 @@ jobs:

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

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

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

0 comments on commit e54cd76

Please sign in to comment.