diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 3926b2133..348ee1a63 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -107,13 +107,14 @@ jobs: ./... - name: Publish To Codecov - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: files: 'coverage-${{ matrix.os }}-${{ matrix.go }}.txt' flags: 'unit-${{ matrix.go }}' os: '${{ matrix.os }}' fail_ci_if_error: true verbose: true + token: ${{ secrets.CODECOV_TOKEN }} codegen_test: # description: | @@ -167,13 +168,14 @@ jobs: -o "codegen-coverage-${{ matrix.os }}-${{ matrix.go }}-${{ matrix.fixture }}.txt" - name: Publish To Codecov - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: files: 'codegen-coverage-${{ matrix.os }}-${{ matrix.go }}-${{ matrix.fixture }}.txt' flags: 'codegen-${{ matrix.go }}-${{ matrix.fixture }}' os: '${{ matrix.os }}' fail_ci_if_error: true verbose: true + token: ${{ secrets.CODECOV_TOKEN }} docker_dev: needs: [lint, build, test, codegen_test]