aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/rust.yml
diff options
context:
space:
mode:
authorZhizhen He <hezhizhen.yi@gmail.com>2025-12-04 07:14:21 +0800
committerGitHub <noreply@github.com>2025-12-03 15:14:21 -0800
commitd24f729ebe1e39ef5629a56c595cd854f289b3a9 (patch)
treeaa5ab46496a12076e57e9f60ecafacf7a9626ffd /.github/workflows/rust.yml
parentfeat: add colors to --help/-h (#3000) (diff)
downloadatuin-d24f729ebe1e39ef5629a56c595cd854f289b3a9.zip
ci: fix github action syntax for variables (#2998)
<!-- Thank you for making a PR! Bug fixes are always welcome, but if you're adding a new feature or changing an existing one, we'd really appreciate if you open an issue, post on the forum, or drop in on Discord --> `${ 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
Diffstat (limited to '.github/workflows/rust.yml')
-rw-r--r--.github/workflows/rust.yml6
1 files 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 '*'