Skip to content

Commit 3e5e31a

Browse files
committed
fix code coverage
1 parent af4b4ef commit 3e5e31a

File tree

2 files changed

+4
-28
lines changed

2 files changed

+4
-28
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,14 @@ jobs:
3131
run: go vet ./...
3232

3333
- name: Install staticcheck
34-
run: go install honnef.co/go/tools/cmd/staticcheck@2023.1.6
34+
run: go install honnef.co/go/tools/cmd/staticcheck@latest
3535

3636
- name: Static Check
3737
run: staticcheck ./...
3838

39+
- name: Run coverage
40+
run: go test -race -coverprofile=coverage.txt -covermode=atomic ./...
41+
3942
- name: Upload coverage reports to Codecov
4043
uses: codecov/codecov-action@v5
4144
with:

.github/workflows/coverage.yml

Lines changed: 0 additions & 27 deletions
This file was deleted.

0 commit comments

Comments
 (0)