Skip to content

Commit f5d9d53

Browse files
committed
feat: feature prop ci check
1 parent e9aea6d commit f5d9d53

File tree

1 file changed

+24
-3
lines changed

1 file changed

+24
-3
lines changed

.github/workflows/check-rust.yml

Lines changed: 24 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ concurrency:
44
group: ci-${{ github.ref }}
55
cancel-in-progress: true
66

7-
87
on:
98
## Run automatically for all PRs against main, regardless of what the changes are
109
## to be safe and so we can more easily force re-run the CI when github is being
@@ -270,8 +269,8 @@ jobs:
270269
cargo clippy -- -D clippy::panic \
271270
-D clippy::todo \
272271
-D clippy::unimplemented
273-
# -D clippy::indexing_slicing \
274-
# -D clippy::unwrap_used \
272+
# -D clippy::indexing_slicing \
273+
# -D clippy::unwrap_used \
275274

276275
# ensures cargo fix has no trivial changes that can be applied
277276
cargo-fix:
@@ -331,3 +330,25 @@ jobs:
331330
else
332331
echo "No changes detected after running 'cargo fix --workspace' ✅"
333332
fi
333+
334+
check-feature-propagation:
335+
name: Check Cargo feature propatation with zepter
336+
runs-on: ubuntu-22.04
337+
338+
steps:
339+
- name: Install stable Rust
340+
uses: actions-rs/toolchain@v1
341+
with:
342+
profile: minimal
343+
toolchain: stable
344+
345+
- name: Install Zepter
346+
run: cargo install --locked -q zepter && zepter --version
347+
348+
- name: Checkout
349+
uses: actions/checkout@v3
350+
with:
351+
fetch-depth: 0 # Dont clone historic commits.
352+
353+
- name: Check features
354+
run: zepter run check

0 commit comments

Comments
 (0)