@@ -28,17 +28,17 @@ jobs:
2828
2929 - uses : Swatinem/rust-cache@v2
3030 with :
31- shared-key : rust-ci-${{ hashFiles('Cargo.lock', 'test-integration/Cargo.lock') }}
31+ shared-key : rust-ci-${{ github.ref_name }}-${{ hashFiles('Cargo.lock', 'test-integration/Cargo.lock', 'rust-toolchain.toml', 'test-integration/rust-toolchain.toml ') }}
3232 add-job-id-key : false
33- env-vars : " "
33+ add-rust-environment-hash-key : false
3434 workspaces : |
3535 . -> target
3636 test-integration -> target
3737 cache-targets : false
38- cache-on-failure : true
3938 cache-all-crates : false
4039 cache-workspace-crates : false
4140 cache-bin : false
41+ cache-on-failure : true
4242 save-if : false
4343
4444 - name : Format check
@@ -59,17 +59,17 @@ jobs:
5959
6060 - uses : Swatinem/rust-cache@v2
6161 with :
62- shared-key : rust-ci-${{ hashFiles('Cargo.lock', 'test-integration/Cargo.lock') }}
62+ shared-key : rust-ci-${{ github.ref_name }}-${{ hashFiles('Cargo.lock', 'test-integration/Cargo.lock', 'rust-toolchain.toml', 'test-integration/rust-toolchain.toml ') }}
6363 add-job-id-key : false
64- env-vars : " "
64+ add-rust-environment-hash-key : false
6565 workspaces : |
6666 . -> target
6767 test-integration -> target
6868 cache-targets : true
69- cache-on-failure : true
7069 cache-all-crates : false
7170 cache-workspace-crates : true
7271 cache-bin : false
72+ cache-on-failure : true
7373 save-if : false
7474
7575 - name : Lint
@@ -90,17 +90,17 @@ jobs:
9090
9191 - uses : Swatinem/rust-cache@v2
9292 with :
93- shared-key : rust-ci-${{ hashFiles('Cargo.lock', 'test-integration/Cargo.lock') }}
93+ shared-key : rust-ci-${{ github.ref_name }}-${{ hashFiles('Cargo.lock', 'test-integration/Cargo.lock', 'rust-toolchain.toml', 'test-integration/rust-toolchain.toml ') }}
9494 add-job-id-key : false
95- env-vars : " "
95+ add-rust-environment-hash-key : false
9696 workspaces : |
9797 . -> target
9898 test-integration -> target
9999 cache-targets : true
100- cache-on-failure : true
101100 cache-all-crates : false
102101 cache-workspace-crates : true
103102 cache-bin : false
103+ cache-on-failure : true
104104 save-if : true
105105
106106 - name : Unit tests
@@ -117,17 +117,17 @@ jobs:
117117
118118 - uses : Swatinem/rust-cache@v2
119119 with :
120- shared-key : integration-${{ github.ref_name }}-${{ hashFiles('Cargo.lock', 'test-integration/Cargo.lock') }}
120+ shared-key : integration-${{ github.ref_name }}-${{ hashFiles('Cargo.lock', 'test-integration/Cargo.lock', 'rust-toolchain.toml', 'test-integration/rust-toolchain.toml' ) }}
121121 add-job-id-key : false
122- env-vars : " "
122+ add-rust-environment-hash-key : false
123123 workspaces : |
124124 . -> target
125125 test-integration -> target
126126 cache-targets : true
127- cache-on-failure : true
128127 cache-all-crates : false
129128 cache-workspace-crates : true
130129 cache-bin : false
130+ cache-on-failure : true
131131 save-if : true
132132
133133 - name : Build project
@@ -200,17 +200,17 @@ jobs:
200200
201201 - uses : Swatinem/rust-cache@v2
202202 with :
203- shared-key : integration-${{ github.ref_name }}-${{ hashFiles('Cargo.lock', 'test-integration/Cargo.lock') }}
203+ shared-key : integration-${{ github.ref_name }}-${{ hashFiles('Cargo.lock', 'test-integration/Cargo.lock', 'rust-toolchain.toml', 'test-integration/rust-toolchain.toml' ) }}
204204 add-job-id-key : false
205- env-vars : " "
205+ add-rust-environment-hash-key : false
206206 workspaces : |
207207 . -> target
208208 test-integration -> target
209209 cache-targets : true
210- cache-on-failure : true
211210 cache-all-crates : false
212211 cache-workspace-crates : true
213212 cache-bin : false
213+ cache-on-failure : true
214214 save-if : false
215215
216216 - uses : actions/download-artifact@v4
0 commit comments