diff --git a/.github/workflows/test-suite.yaml b/.github/workflows/test-suite.yaml index 2147c18f6c..a0076e5d58 100644 --- a/.github/workflows/test-suite.yaml +++ b/.github/workflows/test-suite.yaml @@ -104,7 +104,7 @@ jobs: - name: Generate coverage report run: sudo -E env "PATH=$PATH" go tool covdata textfmt -i $GOCOVERDIR -o ${{ matrix.itest }}.out - name: Upload Results To Codecov - uses: codecov/codecov-action@1af58845a975a7985b0beb0cbe6fbbb71a41dbad # v5 + uses: codecov/codecov-action@57e3a136b779b570ffcdbf80b3bdc90e7fab3de2 # v5 with: token: ${{ secrets.CODECOV_TOKEN }} files: ./${{ matrix.itest }}.out diff --git a/.github/workflows/unittest.yaml b/.github/workflows/unittest.yaml index 35b044f40e..00190ba58e 100644 --- a/.github/workflows/unittest.yaml +++ b/.github/workflows/unittest.yaml @@ -37,7 +37,7 @@ jobs: go test -coverpkg=./... -coverprofile=coverage.out ./pkg/... -run Unit go tool cover -func coverage.out - name: Upload Results To Codecov - uses: codecov/codecov-action@1af58845a975a7985b0beb0cbe6fbbb71a41dbad # v5 + uses: codecov/codecov-action@57e3a136b779b570ffcdbf80b3bdc90e7fab3de2 # v5 with: token: ${{ secrets.CODECOV_TOKEN }} files: ./coverage.out @@ -59,7 +59,7 @@ jobs: go test -coverpkg ./pkg/... -coverprofile coverage.out ./pkg/... -run Unit -v go tool cover -func coverage.out - name: Upload Results To Codecov - uses: codecov/codecov-action@1af58845a975a7985b0beb0cbe6fbbb71a41dbad # v5 + uses: codecov/codecov-action@57e3a136b779b570ffcdbf80b3bdc90e7fab3de2 # v5 with: token: ${{ secrets.CODECOV_TOKEN }} files: ./coverage.out