diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 31f2e78..3559210 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -18,10 +18,12 @@ jobs: - '^1.18' - '^1.19' - '^1.20' + - '^1.21' + - '^1.22' steps: - name: Check out code into the Go module directory - uses: actions/checkout@v3 - - uses: actions/setup-go@v3 + uses: actions/checkout@v4 + - uses: actions/setup-go@v5 with: go-version: ${{ matrix.go }} cache: true @@ -32,8 +34,8 @@ jobs: - name: Test Coverage (pkg) run: go test ./... -race -coverprofile=${{ steps.vars.outputs.coverage_txt }} - name: Upload coverage - if: ${{ matrix.go == '^1.20' }} - uses: codecov/codecov-action@v2 + if: ${{ matrix.go == '^1.22' }} + uses: codecov/codecov-action@v4 with: files: ${{ steps.vars.outputs.coverage_txt }}