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
This commit is contained in:
parent
3d9b446f43
commit
ed2bb0c5e8
1 changed files with 21 additions and 0 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue