Skip to content

Commit

Permalink
fix(ci): muted warnings in CI runs due to cache conflicts
Browse files Browse the repository at this point in the history
Every time a job is posted, I receive false alarm failure notifications because of some cache conflict during the linting job.

Reference: golangci/golangci-lint-action#807

* ci: fixed code coverage on all sub packages

Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
  • Loading branch information
fredbi committed Dec 26, 2023
1 parent cc8632e commit 13c451f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/go-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
with:
version: latest
only-new-issues: true
skip-cache: true

test:
name: Unit tests
Expand All @@ -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
Expand Down

0 comments on commit 13c451f

Please sign in to comment.