-
Notifications
You must be signed in to change notification settings - Fork 698
feat: add cargo hack check on ci #6262
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Conversation
…larity-vm-feature-gate
…larity-vm-feature-gate
…larity-vm-feature-gate
…larity-vm-feature-gate
…larity-vm-feature-gate
…-core into feature/cargo-hack-check-ci
The initial implementation contained the final check, but I removed it in a later commit 66cf8ba, as I realized it was redundant. But I forgot to remove it from the description 👍 |
…larity-vm-feature-gate
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #6262 +/- ##
===========================================
- Coverage 82.10% 81.97% -0.13%
===========================================
Files 546 546
Lines 347235 347218 -17
Branches 323 323
===========================================
- Hits 285088 284626 -462
- Misses 62139 62584 +445
Partials 8 8
... and 50 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
…larity-vm-feature-gate
This reverts commit 4fdd73e.
lgtm - waiting on #6239 to merge so this PR is only for the workflow changes |
Description
This PR builds on top of #6239, and will be rebased once the other PR will be merged.
The only three changes are:
This PR introduces a new, reusable action workflow (
cargo-hack-check.yml
) to verify that all feature flag in our workspace compile successfully.The goal is not to accidentally break our support for wasm in future PRs, and prevent accedentally break feature flags like it recently happened in #6228
It is structured into three main stages:
This job has fail-fast: false so that a failure in one WASM check doesn't prevent the other from running.
Also:
.github/workflows/core-build-tests.yml
was renamed to.github/workflows/constants-check.yml
. This workflow contained a subset of the cargo checks that we are now performing via cargo hack. After removing those check, I thought of renaming it.Applicable issues
Additional info (benefits, drawbacks, caveats)
Checklist
docs/rpc/openapi.yaml
andrpc-endpoints.md
for v2 endpoints,event-dispatcher.md
for new events)clarity-benchmarking
repobitcoin-tests.yml