diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 74021d6..bf15e0f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -35,6 +35,8 @@ jobs: matrix: go-version: [ "1.25", "1.26" ] runs-on: ubuntu-latest + env: + GOTESTSUM_VERSION: v1.13.0 steps: - name: Checkout code @@ -59,9 +61,7 @@ jobs: if: steps.install-go.outputs.cache-hit != 'true' - name: Setup gotestsum - uses: gertd/action-gotestsum@v3.0.0 - with: - gotestsum_version: v1.13.0 + run: go install gotest.tools/gotestsum@${{ env.GOTESTSUM_VERSION }} - name: Run Tests run: gotestsum --format pkgname -- -covermode=atomic -coverprofile=coverage.out -race ./...