diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5be42aa..8024da2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,6 +27,9 @@ on: jobs: test: runs-on: 'ubuntu-latest' + strategy: + matrix: + go: ['1.21.x', '1.22.x'] name: 'Tests' steps: - uses: 'actions/checkout@v4' @@ -34,7 +37,7 @@ jobs: - name: 'Setup Go environment' uses: 'actions/setup-go@v4' with: - go-version: '>=1.21.5' + go-version: '${{ matrix.go }}' - name: 'Run mock tests' run: 'make test' diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index 5269d8a..4cb7ece 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -37,7 +37,7 @@ jobs: - name: 'Setup Go environment' uses: 'actions/setup-go@v4' with: - go-version: '>=1.21.10' + go-version: '1.21.x' - name: 'Run govulncheck' run: 'make vulnerabilities'