Rust linting using clippy
This commit is contained in:
parent
61849f8aee
commit
1e688d4ea8
2 changed files with 22 additions and 4 deletions
|
@ -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: |
|
||||
|
|
|
@ -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
|
Reference in a new issue