mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2026-01-27 23:11:44 +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
|
||||
|
||||
# Running the linter requires likwid.h, which gets downloaded in the build step
|
||||
- name: Run Static Analysis with go vet
|
||||
run: go vet ./...
|
||||
- name: Run Static Analysis with go vet and Upload Report with reviewdog
|
||||
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
|
||||
- name: Run Static Analysis with staticcheck and Upload Report with reviewdog
|
||||
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:
|
||||
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user