Skip to content

Commit

Permalink
Add Cargo.toml linting to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Dentosal committed Feb 23, 2022
1 parent e43e49c commit 69ce43e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,15 @@ jobs:
- name: Install rustfmt
run: rustup component add rustfmt

- name: Install Cargo.toml linter
uses: baptiste0928/cargo-install@v1
with:
crate: cargo-toml-lint
version: "0.1"

- name: Run Cargo.toml linter
run: find -type f -name Cargo.toml | xargs --verbose -n 1 cargo-toml-lint

- name: Check formatting
uses: actions-rs/cargo@v1
with:
Expand Down

0 comments on commit 69ce43e

Please sign in to comment.