diff --git a/.github/workflows/go-test.yml b/.github/workflows/go-test.yml index e1a95c7..62682bf 100644 --- a/.github/workflows/go-test.yml +++ b/.github/workflows/go-test.yml @@ -18,6 +18,7 @@ jobs: with: version: latest only-new-issues: true + skip-cache: true test: name: Unit tests @@ -38,7 +39,7 @@ jobs: - uses: actions/checkout@v3 - - run: go test -v -race -coverprofile="coverage-${{ matrix.os }}.${{ matrix.go_version }}.out" -covermode=atomic ./... + - run: go test -v -race -coverprofile="coverage-${{ matrix.os }}.${{ matrix.go_version }}.out" -covermode=atomic -coverpkg=$(go list)/... ./... - name: Upload coverage to codecov uses: codecov/codecov-action@v3