From d24f729ebe1e39ef5629a56c595cd854f289b3a9 Mon Sep 17 00:00:00 2001 From: Zhizhen He Date: Thu, 4 Dec 2025 07:14:21 +0800 Subject: [PATCH] ci: fix github action syntax for variables (#2998) `${ runner.os }` -> `${{ runner.os }}` ## Checks - [x] I am happy for maintainers to push small adjustments to this PR, to speed up the review cycle - [x] I have checked that there are no existing pull requests for the same thing --- .github/workflows/rust.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 33a1ff22..4b8b2fa7 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -110,7 +110,7 @@ jobs: ~/.cargo/registry ~/.cargo/git target - key: ${ runner.os }-cargo-debug-${{ hashFiles('**/Cargo.lock') }} + key: ${{ runner.os }}-cargo-debug-${{ hashFiles('**/Cargo.lock') }} - name: Run cargo test run: cargo nextest run --lib --bins @@ -135,7 +135,7 @@ jobs: ~/.cargo/registry ~/.cargo/git target - key: ${ runner.os }-cargo-debug-${{ hashFiles('**/Cargo.lock') }} + key: ${{ runner.os }}-cargo-debug-${{ hashFiles('**/Cargo.lock') }} - name: Run cargo check (all features) run: cargo check --all-features --workspace @@ -184,7 +184,7 @@ jobs: ~/.cargo/registry ~/.cargo/git target - key: ${ runner.os }-cargo-debug-${{ hashFiles('**/Cargo.lock') }} + key: ${{ runner.os }}-cargo-debug-${{ hashFiles('**/Cargo.lock') }} - name: Run cargo test run: cargo nextest run --test '*'