Skip to content

Commit 319626b

Browse files
authored
Merge pull request #268 from smlx/cover-cache
chore: ensure accurate coverage results
2 parents c89938e + f787736 commit 319626b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/coverage.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
go-version: stable
1717
- name: Calculate coverage
1818
run: |
19-
go test -v -covermode=atomic -coverprofile=cover.out -coverpkg=./... ./...
19+
go test -count=1 -v -covermode=atomic -coverprofile=cover.out -coverpkg=./... ./...
2020
- name: Generage coverage badge
2121
uses: vladopajic/go-test-coverage@679e6807f68f2440a4c43d386442a1d0041838a9 # v2.18.3
2222
with:

.github/workflows/release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
# container which is automatically pulled and run during the container
4444
# image build. However, because the release process also generates an SBOM
4545
# for the binaries attached to the GitHub release (see the "sboms" section
46-
# in .gorleaser.yaml), it also needs to install syft into the action
46+
# in .goreleaser.yaml), it also needs to install syft into the action
4747
# environment.
4848
- uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3.12.0
4949
- uses: anchore/sbom-action/download-syft@deef08a0db64bfad603422135db61477b16cef56 # v0.22.1

0 commit comments

Comments
 (0)