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:
|
run-tests:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
steps:
|
steps:
|
||||||
|
-
|
||||||
|
name: Add Clippy
|
||||||
|
run: rustup component add clippy
|
||||||
-
|
-
|
||||||
name: Checking Out Repository Code
|
name: Checking Out Repository Code
|
||||||
uses: https://code.forgejo.org/actions/checkout@v3
|
uses: https://code.forgejo.org/actions/checkout@v3
|
||||||
-
|
-
|
||||||
name: Placeholder
|
name: Change To Rust Root Dir
|
||||||
run: echo Placeholder Job
|
run: cd src-tauri
|
||||||
|
-
|
||||||
|
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: |
|
run: |
|
||||||
|
|
|
@ -12,5 +12,17 @@ jobs:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
steps:
|
steps:
|
||||||
-
|
-
|
||||||
name: Placeholder
|
name: Installing Node
|
||||||
run: echo Placeholder Job
|
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