-
Notifications
You must be signed in to change notification settings - Fork 176
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,13 +12,21 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: dtolnay/rust-toolchain@stable | ||
- name: Install protoc | ||
uses: taiki-e/install-action@v2 | ||
with: | ||
tool: [email protected] | ||
- run: cargo check --workspace --all-features --all-targets | ||
|
||
check-docs: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: dtolnay/rust-toolchain@stable | ||
- name: Install protoc | ||
uses: taiki-e/install-action@v2 | ||
with: | ||
tool: [email protected] | ||
- name: cargo doc | ||
working-directory: ${{ matrix.subcrate }} | ||
env: | ||
|
@@ -31,6 +39,10 @@ jobs: | |
- uses: actions/checkout@v3 | ||
- uses: dtolnay/rust-toolchain@stable | ||
- uses: taiki-e/install-action@cargo-hack | ||
- name: Install protoc | ||
uses: taiki-e/install-action@v2 | ||
with: | ||
tool: [email protected] | ||
- name: cargo hack check | ||
working-directory: ${{ matrix.subcrate }} | ||
env: | ||
|
@@ -49,6 +61,10 @@ jobs: | |
- uses: dtolnay/rust-toolchain@master | ||
with: | ||
toolchain: ${{ matrix.rust }} | ||
- name: Install protoc | ||
uses: taiki-e/install-action@v2 | ||
with: | ||
tool: [email protected] | ||
- run: cargo test --workspace --all-features | ||
|
||
test-msrv: | ||
|
@@ -57,6 +73,10 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: dtolnay/[email protected] | ||
- name: Install protoc | ||
uses: taiki-e/install-action@v2 | ||
with: | ||
tool: [email protected] | ||
- run: cargo test -p tower-http --all-features | ||
|
||
style: | ||
|
@@ -67,6 +87,10 @@ jobs: | |
- uses: dtolnay/rust-toolchain@stable | ||
with: | ||
components: rustfmt | ||
- name: Install protoc | ||
uses: taiki-e/install-action@v2 | ||
with: | ||
tool: [email protected] | ||
- run: cargo fmt --all --check | ||
|
||
deny-check: | ||
|