From ed2bb0c5e883d5bc10b6033a3649bf87b45898de Mon Sep 17 00:00:00 2001 From: goose Date: Tue, 17 Mar 2026 17:10:37 -0300 Subject: [PATCH] fix(ci): add Node.js installation for checkout action compatibility - 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 --- .forgejo/workflows/lint-and-build.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/.forgejo/workflows/lint-and-build.yml b/.forgejo/workflows/lint-and-build.yml index 58f12b6..97137ce 100644 --- a/.forgejo/workflows/lint-and-build.yml +++ b/.forgejo/workflows/lint-and-build.yml @@ -16,6 +16,13 @@ jobs: image: rust:1.83-slim 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 uses: actions/checkout@v4 @@ -38,6 +45,13 @@ jobs: image: rust:1.83-slim 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 uses: actions/checkout@v4 @@ -60,6 +74,13 @@ jobs: needs: [format, clippy] 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 uses: actions/checkout@v4