Compare commits

...

2 Commits

Author SHA1 Message Date
Mac L
243eecc465 Add cargo-hack to CI to check crate features (#8927)
#8926


  Add a step to CI which runs `cargo check` across all combinations of features for certain crates using `cargo-hack`


Co-Authored-By: Mac L <mjladson@pm.me>
2026-04-07 06:23:11 +00:00
Mac L
9f0696f93f Remove unused exit-future (#9095)
Remove the `exit-future` crate as it is unused.


Co-Authored-By: Mac L <mjladson@pm.me>
2026-04-06 02:54:41 +00:00
2 changed files with 17 additions and 1 deletions

View File

@@ -427,6 +427,22 @@ jobs:
cache-target: release
- name: Run Makefile to trigger the bash script
run: make cli-local
cargo-hack:
name: cargo-hack
needs: [check-labels]
if: needs.check-labels.outputs.skip_ci != 'true'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- name: Get latest version of stable Rust
uses: moonrepo/setup-rust@v1
with:
channel: stable
- uses: taiki-e/install-action@cargo-hack
- name: Check types feature powerset
run: cargo hack check -p types --feature-powerset --no-dev-deps --exclude-features arbitrary-fuzz,portable
- name: Check eth2 feature powerset
run: cargo hack check -p eth2 --feature-powerset --no-dev-deps
cargo-sort:
name: cargo-sort
needs: [check-labels]
@@ -470,6 +486,7 @@ jobs:
'compile-with-beta-compiler',
'cli-check',
'lockbud',
'cargo-hack',
'cargo-sort',
]
steps:

View File

@@ -145,7 +145,6 @@ ethereum_serde_utils = "0.8.0"
ethereum_ssz = { version = "0.10.0", features = ["context_deserialize"] }
ethereum_ssz_derive = "0.10.0"
execution_layer = { path = "beacon_node/execution_layer" }
exit-future = "0.2"
filesystem = { path = "common/filesystem" }
fixed_bytes = { path = "consensus/fixed_bytes" }
fnv = "1"