From 52f5b80ffefd463e9031b783b56c1826b01e5aae Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Fri, 15 Dec 2023 20:28:51 +0100 Subject: Add CI check to enforce external types check Signed-off-by: Matthias Beyer --- .github/workflows/external-types.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/external-types.yml diff --git a/.github/workflows/external-types.yml b/.github/workflows/external-types.yml new file mode 100644 index 0000000..2a74a39 --- /dev/null +++ b/.github/workflows/external-types.yml @@ -0,0 +1,22 @@ +on: [push, pull_request] + +name: Check-external-types + +jobs: + check: + name: Check + runs-on: ubuntu-latest + steps: + - name: Checkout sources + uses: actions/checkout@v4.1.1 + + - name: Install toolchain + uses: dtolnay/rust-toolchain@master + with: + toolchain: nightly + + - name: Install cargo-check-external-types + run: cargo install --locked cargo-check-external-types + + - name: Run cargo check-external-types + run: cargo check-external-types --config ./external-types.toml -- cgit v1.2.3