diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 5371a1b..fc8488c 100755 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -23,4 +23,9 @@ jobs: - name: Test run: go test -race -coverprofile=coverage.txt -covermode=atomic ./... env: - GOFLAGS: "-mod=vendor" \ No newline at end of file + GOFLAGS: "-mod=vendor" + + - name: Upload coverage reports to Codecov + uses: codecov/codecov-action@v3 + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}