diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 02ad7dd..fd1f2b3 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -38,6 +38,11 @@ jobs: - name: Go test run: go test -v -coverprofile=coverage.out ./... + - name: Upload coverage reports to Codecov + uses: codecov/codecov-action@v3 + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} + - name: Go coverage env: CODE_COVERAGE_THRESHOLD: 100