Skip to content

Commit

Permalink
Install protoc in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
jplatte committed Jul 19, 2023
1 parent 71b8e86 commit 69de5e8
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand All @@ -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:
Expand All @@ -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:
Expand All @@ -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:
Expand Down

0 comments on commit 69de5e8

Please sign in to comment.