diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2023-12-15 20:28:51 +0100 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2023-12-15 20:28:51 +0100 |
commit | 52f5b80ffefd463e9031b783b56c1826b01e5aae (patch) | |
tree | 00c549477a171d913db0420a3d70058b1a8100cb | |
parent | 1fe6bf7bd8011031eae972012b38eebc8ad4b40f (diff) |
Add CI check to enforce external types check
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
-rw-r--r-- | .github/workflows/external-types.yml | 22 |
1 files changed, 22 insertions, 0 deletions
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 |