Add missing Node install step to Actions + Formatting
Some checks failed
Run Tests on Code / run-tests (push) Failing after 11s

This commit is contained in:
Neshura 2023-12-19 22:19:21 +01:00
parent 5c59437595
commit 1f10a39db1
Signed by: Neshura
GPG key ID: B6983AAA6B9A7A6C
2 changed files with 28 additions and 17 deletions

View file

@ -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

View file

@ -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