mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2026-02-13 14:41:45 +01:00
Enable linter: errorlint
This commit is contained in:
2
.github/workflows/runonce.yml
vendored
2
.github/workflows/runonce.yml
vendored
@@ -49,7 +49,7 @@ jobs:
|
|||||||
# 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: Static Analysis with GolangCI-Lint and Upload Report with reviewdog
|
- name: Static Analysis with GolangCI-Lint and Upload Report with reviewdog
|
||||||
run: |
|
run: |
|
||||||
golangci-lint run --enable modernize,staticcheck,govet | reviewdog -f=golangci-lint -name "Check golangci-lint on build-latest" -reporter=github-check -filter-mode=nofilter -fail-level none
|
golangci-lint run --enable errorlint,govet,modernize,staticcheck | reviewdog -f=golangci-lint -name "Check golangci-lint on build-latest" -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