Skip to content

Commit

Permalink
ci(workflow): add lint for unused cargo dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
ccamel committed Dec 16, 2024
1 parent d48c821 commit b4f4bfb
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,16 @@ jobs:
if: steps.changed-rust-cargo.outputs.any_changed == 'true'
uses: davidB/rust-cargo-make@v1

- name: Lint all Cargo.toml file
- name: Lint all Cargo.toml files
if: steps.changed-rust-cargo.outputs.any_changed == 'true'
run: |
cargo make lint-cargo-toml
- name: Lint all unused dependencies in Cargo.toml files
if: steps.changed-rust-cargo.outputs.any_changed == 'true'
run: |
cargo make lint-cargo-deps
lint-cargo-makefile:
runs-on: ubuntu-22.04
steps:
Expand Down

0 comments on commit b4f4bfb

Please sign in to comment.