-
Notifications
You must be signed in to change notification settings - Fork 1.1k
chore: Add cargo-hack
to check features
#105
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
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,18 +24,14 @@ jobs: | |
- uses: actions/checkout@master | ||
- name: Install rustfmt | ||
run: rustup component add rustfmt | ||
- name: Install cargo-hack | ||
run: cargo install cargo-hack | ||
- name: Check fmt | ||
run: cargo fmt -- --check | ||
- name: Check all | ||
run: cargo check --all | ||
- name: Check with no default features | ||
run: cargo check -p tonic --no-default-features | ||
- name: Check with transport no tls | ||
run: cargo check -p tonic | ||
- name: Check with transport w/ openssl | ||
run: cargo check -p tonic --features openssl | ||
- name: Check with transport w/ rustls | ||
run: cargo check -p tonic --features rustls | ||
- name: Check features | ||
run: cargo hack check --all --each-feature | ||
- name: Check all targets | ||
run: cargo check --all --all-targets --all-features | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I need to add the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Hmm, I'm not sure if there is another good solution. (afaik, There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. if we run it last it should be fine I can wait till we fine a better solution. |
||
|
||
test: | ||
runs-on: ${{ matrix.os }} | ||
|
Uh oh!
There was an error while loading. Please reload this page.