-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
feat(ci): feature checks #5789
feat(ci): feature checks #5789
Conversation
d8a1d52
to
04075fa
Compare
.github/workflows/test.yml
Outdated
target: [forge, cast, chisel, anvil] | ||
name: cargo install | ||
runs-on: ubuntu-latest | ||
needs: test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't want to run this unless the rest of the CI passes.
04075fa
to
09f97bf
Compare
This job can be replaced by just See also |
293d0a9
to
aea9c78
Compare
aea9c78
to
bfc0308
Compare
@@ -152,3 +152,15 @@ jobs: | |||
- uses: Swatinem/rust-cache@v2 | |||
- name: forge fmt | |||
run: cargo run --bin forge -- fmt --check testdata/ | |||
|
|||
feature-checks: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wonder how much time this will add to ci
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should complete before tests if it runs in parallel with them
Motivation
See #5788
Ensure that
cargo install
works for all binaries as some workspace dependencies hide features that need to be explicitly declared by crates.