mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2026-01-27 15:01:45 +01:00
Run Static Analysis with staticcheck
This commit is contained in:
8
.github/workflows/runonce.yml
vendored
8
.github/workflows/runonce.yml
vendored
@@ -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
|
||||||
#
|
#
|
||||||
|
|||||||
Reference in New Issue
Block a user