Skip to content

Commit

Permalink
build: install protoc in CI tests
Browse files Browse the repository at this point in the history
  • Loading branch information
suchapalaver committed Oct 15, 2024
1 parent 01aa482 commit 59178ad
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ jobs:
- name: Run sccache-cache
uses: mozilla-actions/sccache-action@89e9040de88b577a072e3760aaf59f585da083af #v0.0.5
if: ${{ !startsWith(github.head_ref, 'renovate/') }}
- name: Install Protoc
uses: arduino/setup-protoc@v3
- run: |
rustup component add clippy
# Temporarily allowing dead-code, while denying all other warnings
Expand Down Expand Up @@ -65,6 +67,8 @@ jobs:
if: ${{ !startsWith(github.head_ref, 'renovate/') }}
- name: Install cargo-llvm-cov
uses: taiki-e/install-action@cargo-llvm-cov
- name: Install Protoc
uses: arduino/setup-protoc@v3
- name: Run tests and generate coverage report
run: cargo llvm-cov test --all-features --workspace --lcov --output-path lcov.info
- name: Upload coverage to Coveralls
Expand Down Expand Up @@ -95,6 +99,8 @@ jobs:
- name: Run sccache-cache
uses: mozilla-actions/sccache-action@89e9040de88b577a072e3760aaf59f585da083af #v0.0.5
if: ${{ !startsWith(github.head_ref, 'renovate/') }}
- name: Install Protoc
uses: arduino/setup-protoc@v3
- name: Test documentation code snippets
run: cargo test --doc --all-features --workspace

Expand All @@ -116,6 +122,8 @@ jobs:
- name: Run sccache-cache
uses: mozilla-actions/sccache-action@89e9040de88b577a072e3760aaf59f585da083af #v0.0.5
if: ${{ !startsWith(github.head_ref, 'renovate/') }}
- name: Install Protoc
uses: arduino/setup-protoc@v3
- name: Cargo check
run: cargo check

Expand Down

0 comments on commit 59178ad

Please sign in to comment.