Skip to content

Commit

Permalink
fix CI caching usage
Browse files Browse the repository at this point in the history
  • Loading branch information
Robbepop committed Feb 11, 2025
1 parent a672c3f commit c366bab
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
with:
targets: wasm32-unknown-unknown, thumbv7em-none-eabi
- name: Set up Rust cache
uses: Swatinem/rust-cache@v2
run: Swatinem/rust-cache@v2
- name: Checkout Submodules
run: git submodule update --init --recursive
- name: Build
Expand All @@ -41,7 +41,7 @@ jobs:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- name: Set up Rust cache
uses: Swatinem/rust-cache@v2
run: Swatinem/rust-cache@v2
- name: Checkout Submodules
run: git submodule update --init --recursive
- name: Test (Release)
Expand All @@ -59,7 +59,7 @@ jobs:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- name: Set up Rust cache
uses: Swatinem/rust-cache@v2
run: Swatinem/rust-cache@v2
- name: Test (Memory Consumption)
run: cargo test --release --features test-allocations -- --test-threads 1 test_memory_consumption

Expand All @@ -85,7 +85,7 @@ jobs:
with:
components: rust-docs, rust-src
- name: Set up Rust cache
uses: Swatinem/rust-cache@v2
run: Swatinem/rust-cache@v2
- name: Check Docs
env:
RUSTDOCFLAGS: '-D warnings'
Expand All @@ -100,7 +100,7 @@ jobs:
with:
components: clippy
- name: Set up Rust cache
uses: Swatinem/rust-cache@v2
run: Swatinem/rust-cache@v2
- name: Check Clippy
run: cargo clippy -- -D warnings

Expand All @@ -111,7 +111,7 @@ jobs:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- name: Set up Rust cache
uses: Swatinem/rust-cache@v2
run: Swatinem/rust-cache@v2
- name: Install `cargo-outdated`
uses: cargo install cargo-outdated
- name: Check Dependencies
Expand All @@ -124,7 +124,7 @@ jobs:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- name: Set up Rust cache
uses: Swatinem/rust-cache@v2
run: Swatinem/rust-cache@v2
- name: Install `cargo-audit`
uses: cargo install cargo-audit
- name: Audit Dependencies
Expand All @@ -139,7 +139,7 @@ jobs:
with:
components: miri
- name: Set up Rust cache
uses: Swatinem/rust-cache@v2
run: Swatinem/rust-cache@v2
- name: Test with Miri
run: cargo miri test

Expand Down

0 comments on commit c366bab

Please sign in to comment.