fix(ci): install Node.js before checkout action
Some checks failed
Lint and Build / lint-and-build (push) Failing after 38s
Some checks failed
Lint and Build / lint-and-build (push) Failing after 38s
This commit is contained in:
parent
a5db33990e
commit
868ebfd5ab
1 changed files with 8 additions and 1 deletions
|
|
@ -10,13 +10,20 @@ jobs:
|
||||||
container:
|
container:
|
||||||
image: rust:1.83-bullseye
|
image: rust:1.83-bullseye
|
||||||
steps:
|
steps:
|
||||||
|
- name: Install Node.js
|
||||||
|
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
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
apt-get update
|
apt-get update
|
||||||
apt-get install -y git nodejs pkg-config libssl-dev
|
apt-get install -y pkg-config libssl-dev
|
||||||
|
|
||||||
- name: Run Clippy
|
- name: Run Clippy
|
||||||
run: cargo clippy --all-targets --all-features -- -D warnings
|
run: cargo clippy --all-targets --all-features -- -D warnings
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue