Skip to content

Commit

Permalink
CI Rust cache
Browse files Browse the repository at this point in the history
  • Loading branch information
gferon authored Oct 17, 2024
1 parent dfb9456 commit 372d231
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,20 @@ jobs:
matrix:
toolchain: ["stable", "beta", "nightly", "1.75"]
steps:
- uses: actions/checkout@v3
- name: Checkout repository
uses: actions/checkout@v3

- name: Install protobuf
run: |
sudo apt-get update
sudo apt-get install -y libprotobuf-dev libprotobuf-c-dev protobuf-compiler protobuf-c-compiler
- uses: actions-rs/toolchain@v1
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: ${{ matrix.toolchain }}
override: true

- name: Configure CI cache
uses: Swatinem/rust-cache@v2

- name: Run tests
uses: actions-rs/cargo@v1
Expand Down

0 comments on commit 372d231

Please sign in to comment.