Skip to content

Commit 52f5b80

Browse files
committed
Add CI check to enforce external types check
Signed-off-by: Matthias Beyer <[email protected]>
1 parent 1fe6bf7 commit 52f5b80

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/external-types.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
on: [push, pull_request]
2+
3+
name: Check-external-types
4+
5+
jobs:
6+
check:
7+
name: Check
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Checkout sources
11+
uses: actions/[email protected]
12+
13+
- name: Install toolchain
14+
uses: dtolnay/rust-toolchain@master
15+
with:
16+
toolchain: nightly
17+
18+
- name: Install cargo-check-external-types
19+
run: cargo install --locked cargo-check-external-types
20+
21+
- name: Run cargo check-external-types
22+
run: cargo check-external-types --config ./external-types.toml

0 commit comments

Comments
 (0)