Skip to content

Commit

Permalink
Install protoc to run tests in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
rcorre committed Oct 2, 2024
1 parent d8ef7f1 commit 14a7848
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,17 @@ jobs:

runs-on: ubuntu-latest

env:
RUST_LOG: pbls=trace

steps:
- uses: actions/checkout@v4
- name: Build
run: cargo build --verbose
- name: Install protoc
run: |
curl https://github.com/protocolbuffers/protobuf/releases/download/v28.2/protoc-28.2-linux-x86_64.zip -Lo /tmp/protoc.zip
unzip /tmp/protoc.zip
bin/protoc --version
- name: Run tests
run: cargo test --verbose
run: PATH="$PATH:bin/" cargo test --verbose

0 comments on commit 14a7848

Please sign in to comment.