Skip to content

Commit

Permalink
UPdate linter tools and coverage %
Browse files Browse the repository at this point in the history
  • Loading branch information
soumeh01 committed Nov 6, 2024
1 parent 1f50416 commit 0cc894a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/eventlist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -264,15 +264,15 @@ jobs:
- name: Check coverage
run: |
go test ./... -race -coverprofile=build/cover.out -covermode=atomic
test `go tool cover -func build/cover.out | tail -1 | awk '{print ($3 + 0)*10}'` -gt 980
test `go tool cover -func build/cover.out | tail -1 | awk '{print ($3 + 0)*10}'` -gt 950
working-directory: ./tools/eventlist

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
files: ./tools/eventlist/build/cover.out
fail_ci_if_error: true
functionalities: fix
verbose: true

release:
needs: [ build, test, coverage ]
Expand Down
2 changes: 1 addition & 1 deletion tools/eventlist/.golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ linters:
enable:
- errname
- errorlint
- goerr113
- err113
- makezero
- nilerr
- paralleltest
Expand Down

0 comments on commit 0cc894a

Please sign in to comment.