chore(rust): fix current clippy lint (#504)

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
This commit is contained in:
Aaron Pham
2024-09-03 22:18:53 -04:00
committed by GitHub
parent e57a3f27df
commit 41c78127e5
3 changed files with 35 additions and 18 deletions

View File

@@ -41,3 +41,15 @@ jobs:
components: clippy, rustfmt
- name: Run rustfmt
run: make ruststylecheck
rustlint:
name: Lint Rust
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
- uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
components: clippy, rustfmt
- name: Run rustfmt
run: make rustlint