Skip to content

Commit

Permalink
Update codeql-analysis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinForReal authored Jan 17, 2025
1 parent bc12812 commit 51129c9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,15 +83,15 @@ jobs:
- name: Autobuild
run: |
make all
go test -covermode=count -coverprofile=profile.cov ./pkg/...
go test -covermode=count -coverprofile=cover.out.tmp ./pkg/...
cat cover.out.tmp | grep -v "mock" > profile.cov
- name: Send coverage
env:
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
go install github.com/mattn/goveralls@latest
$(go env GOPATH)/bin/goveralls -coverprofile=profile.cov.tmp -service=github
cat cover.out.tmp | grep -v "mock" > profile.cov
$(go env GOPATH)/bin/goveralls -coverprofile=profile.cov -service=github
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@b6a472f63d85b9c78a3ac5e89422239fc15e9b3c # v3.28.1

0 comments on commit 51129c9

Please sign in to comment.