Fix the CI pipeline so it runs on the available runner #1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "ci/runner-label"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Makes the pipeline actually run, found by pushing it and watching what happened.
Three defects, each blocking the next:
docker; the runner on thisinstance offers
ubuntu-22.04, so every run sat inwaitingwith nothing topick it up.
container: golang:1.26has no Node.js,and both
checkoutandsetup-goare JavaScript actions — every run diedafter ten seconds with
executable file `node` not found in $PATH. The jobnow uses the runner's default image and installs Go with
setup-go, readingthe version from
go.mod.make lintskippedgolangci-lintwhen itwas not installed, so the lint step had never actually run here. They are
fixed, the linter version is pinned in the workflow and the Makefile, and
make lintnow fails with an install hint instead of quietly passing.Verified on this branch:
CI / test (push)is green,CI / image (push)isskipped as intended — publishing only happens on main and tags.