Skip to content

Commit

Permalink
ci: add manifest checks
Browse files Browse the repository at this point in the history
  • Loading branch information
evilrobot-01 committed Aug 13, 2024
1 parent 49434fc commit 64b5975
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,20 @@ jobs:
run: |
rustup toolchain install nightly --profile minimal --component rustfmt
cargo +nightly fmt --all -- --check
- name: Check manifests
run: |
cargo install taplo-cli --locked
taplo format --check
- name: Check features
run: |
cargo install zepter --locked
zepter lint propagate-feature --feature try-runtime --left-side-feature-missing=ignore --workspace --feature-enables-dep="try-runtime:frame-try-runtime" --locked
zepter lint propagate-feature --feature runtime-benchmarks --left-side-feature-missing=ignore --workspace --feature-enables-dep="runtime-benchmarks:frame-benchmarking" --locked
zepter lint propagate-feature --feature std --left-side-feature-missing=ignore --workspace --locked
zepter format features
check:
needs: lint
runs-on: ubuntu-latest
Expand Down

0 comments on commit 64b5975

Please sign in to comment.