Skip to content

Commit

Permalink
Add CI check to enforce external types check
Browse files Browse the repository at this point in the history
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
  • Loading branch information
matthiasbeyer committed Dec 15, 2023
1 parent 1fe6bf7 commit 52f5b80
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/external-types.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 52f5b80

Please sign in to comment.