mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2026-01-27 15:01:45 +01:00
Add upload for go vet
This commit is contained in:
7
.github/workflows/runonce.yml
vendored
7
.github/workflows/runonce.yml
vendored
@@ -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 }}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user