Fixed some Rust code structure and modified the workflow to fail if clippy returns warnings (#569)
* Fixed someone else's mistakes * workflow now fails if clippy returns warnings * refactor: Make base title variable constant --------- Co-authored-by: Liam <lj3954@users.noreply.github.com>
This commit is contained in:
@@ -38,7 +38,7 @@ jobs:
|
||||
restore-keys: ${{ runner.os }}-cargo-index-
|
||||
|
||||
- name: Run cargo clippy
|
||||
run: cargo clippy
|
||||
run: cargo clippy -- -Dwarnings
|
||||
|
||||
- name: Run cargo fmt
|
||||
run: cargo fmt --all --check
|
||||
|
||||
Reference in New Issue
Block a user