Skip to content

ci: bump GitHub Actions to Node 24-native versions - #1711

Merged
dimitri merged 5 commits into
masterfrom
fix/ci-actions-node24
Jun 22, 2026
Merged

dimitri merged 5 commits into
masterfrom
fix/ci-actions-node24

Conversation

@dimitri

@dimitri dimitri commented Jun 22, 2026

Copy link
Copy Markdown
Owner

Bump all GitHub Actions that were targeting Node.js 20 to their Node 24-native major versions.

Action Old New Node runtime
actions/setup-java v4 v5 node24
actions/cache v4 v5 node24
actions/upload-artifact v4 v7 node24
actions/download-artifact v4 v8 node24
docker/setup-buildx-action v3 v4 node24
actions/checkout v2 → v4 v4 node20 (no v5 yet)

actions/checkout has no Node 24 release yet — one warning will remain until upstream ships a new major.

dimitri added 5 commits June 22, 2026 17:35
setup-java   v4 -> v5   (node24)
cache        v4 -> v5   (node24)
upload-artifact  v4 -> v7   (node24)
download-artifact  v4 -> v8   (node24)
setup-buildx-action  v3 -> v4   (node24)
checkout  v2 -> v4   (latest stable; no v5 yet — still node20)

actions/checkout has no node24 release yet; its warning will remain
until the upstream team ships a new major version.
With debhelper compat 13, dh_install looks in debian/tmp/ by default
and no longer falls back to '.'. Since the Makefile has no install
target, dh_auto_install is a no-op and debian/tmp/ is never populated.
This left dh_install unable to find build/bin/pgloader, so the binary
never reached debian/pgloader/usr/bin/ and help2man failed with exit 127.

Explicitly stage the binary into debian/tmp/usr/bin/ so dh_install
picks it up reliably.
Stage the binary as debian/tmp/build/bin/pgloader so dh_install
can find it at the path declared in debian/pgloader.install:

  build/bin/pgloader /usr/bin

Previous attempt staged to debian/tmp/usr/bin/ which didn't match
the source pattern dh_install looks for.
Instead of staging via debian/tmp/ (which causes dh_missing to complain
about path tracking mismatches), install the binary directly to its final
location in the package tree and remove it from debian/pgloader.install.

dh_auto_install -> installs build/bin/pgloader to debian/pgloader/usr/bin/
dh_install      -> nothing to do (pgloader.install is now empty)
dh_missing      -> debian/tmp is empty, no complaints
override_dh_installman-arch -> finds binary, help2man succeeds
checkout@v4 targets Node 20 which is now deprecated on GitHub Actions
runners (forced to Node 24 since 2025-09-19). Bump all 8 occurrences
across the three active workflows to @v5.

Also modernise docker-publish.yml while touching it:
- docker/metadata-action v3.6.2 → v5  (was Node 16, emitted set-output warnings)
- docker/build-push-action SHA-pin    → v6  (v2.x era Node 20 pin)
- docker/login-action SHA-pin         → v3  (v2.x era pin, also skipped on PRs)
@dimitri
dimitri merged commit 6e4281f into master Jun 22, 2026
30 checks passed
@dimitri
dimitri deleted the fix/ci-actions-node24 branch June 22, 2026 17:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant