fix(ci): install Node.js in the rust job #62

Merged
maximus merged 1 commit from fix/check-workflow-rust-node into main 2026-04-09 14:01:40 +00:00
Owner

Hot fix for #60.

Problem

The rust job in check.yml (just merged via #61) failed on every run with:

OCI runtime exec failed: exec: "node": executable file not found in $PATH

actions/checkout@v4 and actions/cache@v4 are JavaScript actions executed by the Forgejo runner via act. They need node in the container PATH, which ubuntu:22.04 doesn't ship with.

The frontend job worked fine because it installs Node before checkout. The GitHub mirror is unaffected because ubuntu-latest ships Node preinstalled.

Fix

Add nodejs to the Install system dependencies step of the rust job, before any actions/* step runs.

Verification

Failed run that triggered this fix: https://git.lacompagniemaximus.com/maximus/Simpl-Resultat/actions/runs/122 — last log lines show the OCI exec failure right after Rust installation succeeds.

Once this PR is merged, the workflow will be re-triggered on issue-46-license-commands-entitlements to finally validate PR #56 (the original goal of #60).

Hot fix for #60. ## Problem The `rust` job in `check.yml` (just merged via #61) failed on every run with: ``` OCI runtime exec failed: exec: "node": executable file not found in $PATH ``` `actions/checkout@v4` and `actions/cache@v4` are JavaScript actions executed by the Forgejo runner via `act`. They need `node` in the container PATH, which `ubuntu:22.04` doesn't ship with. The `frontend` job worked fine because it installs Node before checkout. The GitHub mirror is unaffected because `ubuntu-latest` ships Node preinstalled. ## Fix Add `nodejs` to the `Install system dependencies` step of the `rust` job, before any `actions/*` step runs. ## Verification Failed run that triggered this fix: https://git.lacompagniemaximus.com/maximus/Simpl-Resultat/actions/runs/122 — last log lines show the OCI exec failure right after Rust installation succeeds. Once this PR is merged, the workflow will be re-triggered on `issue-46-license-commands-entitlements` to finally validate PR #56 (the original goal of #60).
maximus added 1 commit 2026-04-09 13:44:42 +00:00
fix(ci): install Node.js in the rust job
All checks were successful
PR Check / rust (push) Successful in 15m32s
PR Check / frontend (push) Successful in 2m24s
PR Check / rust (pull_request) Successful in 15m44s
PR Check / frontend (pull_request) Successful in 2m33s
60bf43fd65
actions/checkout@v4 and actions/cache@v4 are JavaScript actions and
require `node` in the container PATH. The rust job in check.yml only
installed system libs and the Rust toolchain, so the post-checkout
cleanup failed with `exec: "node": executable file not found in $PATH`
on every Forgejo run.

The frontend job already installed Node, which is why it succeeded.
The GitHub mirror is unaffected because ubuntu-latest ships with Node
preinstalled.

Validated against the failed run https://git.lacompagniemaximus.com/maximus/Simpl-Resultat/actions/runs/122
maximus merged commit 8afcafe890 into main 2026-04-09 14:01:40 +00:00
maximus deleted branch fix/check-workflow-rust-node 2026-04-09 14:01:40 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: maximus/Simpl-Resultat#62
No description provided.