From 64b597564dacecfd737fa3b4d497fe675a7287b1 Mon Sep 17 00:00:00 2001 From: Frank Bell Date: Tue, 13 Aug 2024 15:01:53 +0100 Subject: [PATCH] ci: add manifest checks --- .github/workflows/ci.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f8db688aa..f89543aa8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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