From c12fb921f090ff318bbea29a74cce3922307e172 Mon Sep 17 00:00:00 2001 From: Daniel Wagner-Hall Date: Mon, 29 Jul 2024 14:00:27 +0200 Subject: [PATCH] Run metadata consistency checks in CI (#152) --- .github/workflows/metadata.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/metadata.yml diff --git a/.github/workflows/metadata.yml b/.github/workflows/metadata.yml new file mode 100644 index 0000000..1653742 --- /dev/null +++ b/.github/workflows/metadata.yml @@ -0,0 +1,24 @@ +name: Check for metadata consistency +on: + push: + branches: ["main"] + pull_request: +jobs: + metadata-consistency: + name: Check for metadata consistency + runs-on: ubuntu-latest + strategy: + fail-fast: false + steps: + - uses: actions/checkout@v3 + - name: Fetch toolchain + uses: dtolnay/rust-toolchain@v1 + with: + profile: minimal + toolchain: stable + - name: Check for metadata consistency + uses: actions-rs/cargo@v1 + with: + command: test + args: --manifest-path=metadata_checks/Cargo.toml + toolchain: stable