Change step order to assure likwid.h is available

This commit is contained in:
Holger Obermaier
2026-01-23 10:55:47 +01:00
parent 1bf9ba976c
commit 86f835ac27

View File

@@ -31,22 +31,24 @@ jobs:
go-version: 1.24 go-version: 1.24
check-latest: true check-latest: true
- name: Build MetricCollector
run: make
- name: Run MetricCollector once
run: ./cc-metric-collector --once --config .github/ci-config.json
# See: https://github.com/golangci/golangci-lint-action # See: https://github.com/golangci/golangci-lint-action
# Running the linter requires likwid.h, which gets downloaded in the build step
- name: Static Analysis with GolangCI-Lint - name: Static Analysis with GolangCI-Lint
uses: golangci/golangci-lint-action@v4 uses: golangci/golangci-lint-action@v4
with: with:
version: latest version: latest
args: --verbose args: --verbose
# 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 ./...
- name: Build MetricCollector
run: make
- name: Run MetricCollector once
run: ./cc-metric-collector --once --config .github/ci-config.json
# #
# Build on AlmaLinux 8 using go-toolset # Build on AlmaLinux 8 using go-toolset
# #