From da9ced03ea94ae5ab1286dc6ce1edfc5846f1ed4 Mon Sep 17 00:00:00 2001 From: Samuel Berthe Date: Thu, 27 Jun 2024 13:16:47 +0200 Subject: [PATCH] Update test.yml --- .github/workflows/test.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5000529..38a5ceb 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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'