Skip to content

Commit 6e489c0

Browse files
committed
ci: explicitly cache .rustup
Addresses issue reported in: - jdx/mise-action#215 - jdx/mise-action#184
1 parent 4e2fb4c commit 6e489c0

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/test-eql.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,15 @@ jobs:
4848
cache: true # [default: true] cache mise using GitHub's cache
4949
cache_key_prefix: "mise-v3"
5050

51+
- name: Cache Rust directories
52+
uses: actions/cache@v4
53+
with:
54+
path: |
55+
~/.rustup
56+
key: rust-cache-${{ runner.os }}-${{ hashFiles('mise.toml') }}
57+
restore-keys: |
58+
rust-cache-${{ runner.os }}-
59+
5160
- name: Setup database (Postgres ${{ matrix.postgres-version }})
5261
run: |
5362
mise run postgres:up postgres-${POSTGRES_VERSION} --extra-args "--detach --wait"

0 commit comments

Comments
 (0)