Enable linter: errorlint

This commit is contained in:
Holger Obermaier
2026-02-11 15:59:01 +01:00
parent 0b1f88b8a6
commit 309bc32a24

View File

@@ -49,7 +49,7 @@ jobs:
# Running the linter requires likwid.h, which gets downloaded in the build step
- name: Static Analysis with GolangCI-Lint and Upload Report with reviewdog
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:
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}