Rust linting using clippy

This commit is contained in:
Neshura 2023-12-19 23:14:43 +01:00
parent 61849f8aee
commit 1e688d4ea8
Signed by: Neshura
GPG key ID: B6983AAA6B9A7A6C
2 changed files with 22 additions and 4 deletions

View file

@ -10,12 +10,18 @@ jobs:
run-tests:
runs-on: docker
steps:
-
name: Add Clippy
run: rustup component add clippy
-
name: Checking Out Repository Code
uses: https://code.forgejo.org/actions/checkout@v3
-
name: Placeholder
run: echo Placeholder Job
name: Change To Rust Root Dir
run: cd src-tauri
-
name: Run Clippy
run: cargo clippy
-
name: Check if Version in Cargo.toml matches Tag
run: |

View file

@ -12,5 +12,17 @@ jobs:
runs-on: docker
steps:
-
name: Placeholder
run: echo Placeholder Job
name: Installing Node
run: apt update && apt install -y nodejs
-
name: Add Clippy
run: rustup component add clippy
-
name: Checking Out Repository Code
uses: https://code.forgejo.org/actions/checkout@v3
-
name: Change To Rust Root Dir
run: cd src-tauri
-
name: Run Clippy
run: cargo clippy