Skip to content

Commit a364a28

Browse files
authored
chore(ci): update cache (tauri-apps#1093)
1 parent b863d49 commit a364a28

File tree

1 file changed

+4
-12
lines changed

1 file changed

+4
-12
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,10 @@ jobs:
4040
steps:
4141
- uses: actions/checkout@v4
4242

43-
- name: Cache cargo folder
44-
uses: actions/cache@v1
45-
with:
46-
path: ~/.cargo
47-
key: ${{ matrix.platform.target }}-cargo-stable
48-
4943
- uses: dtolnay/rust-toolchain@stable
5044

45+
- uses: Swatinem/rust-cache@v2
46+
5147
- name: Install Gtk (ubuntu only)
5248
if: matrix.platform.os == 'ubuntu-latest'
5349
run: |
@@ -120,14 +116,10 @@ jobs:
120116
steps:
121117
- uses: actions/checkout@v4
122118

123-
- name: Cache cargo folder
124-
uses: actions/cache@v1
125-
with:
126-
path: ~/.cargo
127-
key: ${{ matrix.platform.target }}-cargo-stable
128-
129119
- uses: dtolnay/rust-toolchain@stable
130120

121+
- uses: Swatinem/rust-cache@v2
122+
131123
- name: Run tests
132124
shell: bash
133125
run: cargo test --package tao-macros --examples

0 commit comments

Comments
 (0)