Skip to content

Commit

Permalink
Add Cargo.toml linting to the CI pipeline (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dentosal authored and xgreenx committed Dec 20, 2022
1 parent 67e88af commit 9788007
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions fuel-storage/.github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,15 @@ jobs:
toolchain: stable
override: true

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

- name: Run Cargo.toml linter
run: git ls-files | grep Cargo.toml$ | xargs --verbose -n 1 cargo-toml-lint

- name: Install rustfmt
run: rustup component add rustfmt

Expand Down

0 comments on commit 9788007

Please sign in to comment.