Skip to content

Commit

Permalink
Add Swatinem/rust-cache@v2 to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
oeb25 committed Jan 3, 2024
1 parent 207b5db commit 5cafa53
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
run: |
sudo sh -c "echo 2097152 >> /proc/sys/fs/aio-max-nr"
docker compose -f test/cluster/docker-compose.yml up -d --wait
- uses: Swatinem/rust-cache@v2
- name: Format check
run: cargo fmt --verbose --all -- --check
- name: Clippy check
Expand Down Expand Up @@ -64,6 +65,7 @@ jobs:
run: |
rustup install ${{ env.rust_min }}
rustup override set ${{ env.rust_min }}
- uses: Swatinem/rust-cache@v2
- name: Print Rust version
run: rustc --version
- name: Use MSRV Cargo.lock
Expand All @@ -80,5 +82,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: Swatinem/rust-cache@v2
- name: Compile docs
run: RUSTDOCFLAGS=-Dwarnings cargo doc

0 comments on commit 5cafa53

Please sign in to comment.