Add upload for go vet

This commit is contained in:
Holger Obermaier
2026-01-23 13:41:25 +01:00
parent ea64c377ac
commit 32be9d8fa9

View File

@@ -55,13 +55,14 @@ jobs:
# args: --verbose # args: --verbose
# Running the linter requires likwid.h, which gets downloaded in the build step # Running the linter requires likwid.h, which gets downloaded in the build step
- name: Run Static Analysis with go vet - name: Run Static Analysis with go vet and Upload Report with reviewdog
run: go vet ./... run: |
go vet ./... | reviewdog -f=govet -reporter=github-check -filter-mode=nofilter -fail-level none
# Running the linter requires likwid.h, which gets downloaded in the build step # Running the linter requires likwid.h, which gets downloaded in the build step
- name: Run Static Analysis with staticcheck and Upload Report with reviewdog - name: Run Static Analysis with staticcheck and Upload Report with reviewdog
run: | run: |
staticcheck ./... | reviewdog -f=staticcheck -reporter=github-check -filter-mode=nofilter staticcheck ./... | reviewdog -f=staticcheck -reporter=github-check -filter-mode=nofilter -fail-level none
env: env:
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }} REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}