Add missing Node install step to Actions + Formatting
Some checks failed
Run Tests on Code / run-tests (push) Failing after 11s
Some checks failed
Run Tests on Code / run-tests (push) Failing after 11s
This commit is contained in:
parent
5c59437595
commit
1f10a39db1
2 changed files with 28 additions and 17 deletions
|
@ -11,11 +11,17 @@ jobs:
|
|||
runs-on: docker
|
||||
container: rust:latest
|
||||
steps:
|
||||
- name: Checking Out Repository Code
|
||||
-
|
||||
name: Installing Node
|
||||
run: apt update && apt install -y nodejs
|
||||
-
|
||||
name: Checking Out Repository Code
|
||||
uses: https://code.forgejo.org/actions/checkout@v3
|
||||
- name: Run Clippy
|
||||
-
|
||||
name: Run Clippy
|
||||
run: cargo clippy
|
||||
- name: Check if Version in Cargo.toml matches Tag
|
||||
-
|
||||
name: Check if Version in Cargo.toml matches Tag
|
||||
run: |
|
||||
VERSION=$(cat Cargo.toml | grep -E "(^|\|)version =" | cut -f2- -d= | tr -d \" | tr -d " ")
|
||||
if test $VERSION != "${{ github.ref_name }}"; then
|
||||
|
|
|
@ -12,7 +12,12 @@ jobs:
|
|||
runs-on: docker
|
||||
container: rust:latest
|
||||
steps:
|
||||
- name: Checking Out Repository Code
|
||||
-
|
||||
name: Installing Node
|
||||
run: apt update && apt install -y nodejs
|
||||
-
|
||||
name: Checking Out Repository Code
|
||||
uses: https://code.forgejo.org/actions/checkout@v3
|
||||
- name: Run Clippy
|
||||
-
|
||||
name: Run Clippy
|
||||
run: cargo clippy
|
Loading…
Reference in a new issue