Run Static Analysis with staticcheck

This commit is contained in:
Holger Obermaier
2026-01-23 11:16:39 +01:00
parent 97483a2e78
commit fab45d4423

View File

@@ -46,9 +46,15 @@ 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
run: go vet ./... run: go vet ./...
# Running the linter requires likwid.h, which gets downloaded in the build step
- name: Run Static Analysis with staticcheck
run: |
go install honnef.co/go/tools/cmd/staticcheck@latest
staticcheck ./...
# #
# Build on AlmaLinux 8 using go-toolset # Build on AlmaLinux 8 using go-toolset
# #