fix(ci): add Node.js installation for checkout action compatibility
Some checks failed
Lint, Build, and Docker / format (push) Successful in 44s
Lint, Build, and Docker / clippy (push) Failing after 36s
Lint, Build, and Docker / build (push) Has been skipped
Lint, Build, and Docker / docker-build (push) Has been skipped

- Install Node.js in Rust containers before checkout
- actions/checkout@v4 requires Node.js to run
- Keeps format check, PR validation, and Docker buildx features
- Compatible with Forgejo runner on solivarez
This commit is contained in:
goose 2026-03-17 17:10:37 -03:00
parent 3d9b446f43
commit ed2bb0c5e8

View file

@ -16,6 +16,13 @@ jobs:
image: rust:1.83-slim image: rust:1.83-slim
steps: steps:
- name: Install Node.js for checkout
run: |
apt-get update
apt-get install -y curl gnupg
curl -fsSL https://deb.nodesource.com/setup_20.x | bash -
apt-get install -y nodejs
- name: Checkout code - name: Checkout code
uses: actions/checkout@v4 uses: actions/checkout@v4
@ -38,6 +45,13 @@ jobs:
image: rust:1.83-slim image: rust:1.83-slim
steps: steps:
- name: Install Node.js for checkout
run: |
apt-get update
apt-get install -y curl gnupg
curl -fsSL https://deb.nodesource.com/setup_20.x | bash -
apt-get install -y nodejs
- name: Checkout code - name: Checkout code
uses: actions/checkout@v4 uses: actions/checkout@v4
@ -60,6 +74,13 @@ jobs:
needs: [format, clippy] needs: [format, clippy]
steps: steps:
- name: Install Node.js for checkout
run: |
apt-get update
apt-get install -y curl gnupg
curl -fsSL https://deb.nodesource.com/setup_20.x | bash -
apt-get install -y nodejs
- name: Checkout code - name: Checkout code
uses: actions/checkout@v4 uses: actions/checkout@v4