Update test.yml

This commit is contained in:
Samuel Berthe
2024-06-27 13:16:47 +02:00
committed by GitHub
parent 3f56650b1e
commit da9ced03ea
+8 -1
View File
@@ -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
@@ -35,3 +41,4 @@ jobs:
file: ./cover.out
flags: unittests
verbose: true
if: matrix.go == '1.21'