@@ -84,17 +84,18 @@ jobs:
8484 ref : ${{ needs.resolve-ref.outputs.sha }}
8585
8686 - name : Install Rust ${{ needs.get-configs.outputs.rust-toolchain }}
87- uses : dtolnay/rust-toolchain@stable
87+ uses : dtolnay/rust-toolchain@4360b52568e2003a75bf9bc1d59f33a8e3fc893c
8888 with :
8989 toolchain : ${{ needs.get-configs.outputs.rust-toolchain }}
9090
9191 - name : Cache Cargo
92- uses : Swatinem/rust-cache@v2
92+ if : ${{ github.event_name != 'workflow_dispatch' }}
93+ uses : Swatinem/rust-cache@v2.9.2
9394 with :
9495 workspaces : ${{ env.WORKING_DIR }}
9596
9697 - name : Install cargo-about ${{ needs.get-configs.outputs.cargo-about-version }}
97- uses : taiki-e/install-action@v2
98+ uses : taiki-e/install-action@v2.86.7
9899 with :
99100 tool : cargo-about@${{ needs.get-configs.outputs.cargo-about-version }}
100101
@@ -141,12 +142,13 @@ jobs:
141142 ref : ${{ needs.resolve-ref.outputs.sha }}
142143
143144 - name : Install Rust ${{ needs.get-configs.outputs.rust-toolchain }}
144- uses : dtolnay/rust-toolchain@stable
145+ uses : dtolnay/rust-toolchain@4360b52568e2003a75bf9bc1d59f33a8e3fc893c
145146 with :
146147 toolchain : ${{ needs.get-configs.outputs.rust-toolchain }}
147148
148149 - name : Cache Cargo
149- uses : Swatinem/rust-cache@v2
150+ if : ${{ github.event_name != 'workflow_dispatch' }}
151+ uses : Swatinem/rust-cache@v2.9.2
150152 with :
151153 workspaces : ${{ env.WORKING_DIR }}
152154
@@ -158,6 +160,7 @@ jobs:
158160 kotlin-version : ${{ needs.get-configs.outputs.kotlin-version }}
159161 ktlint-version : ${{ needs.get-configs.outputs.ktlint-version }}
160162 gradle-version : ${{ needs.get-configs.outputs.gradle-version }}
163+ cache-disabled : ${{ github.event_name == 'workflow_dispatch' }}
161164
162165 - name : Log tool versions
163166 uses : ./.github/actions/print-build-versions
@@ -204,12 +207,13 @@ jobs:
204207 ref : ${{ needs.resolve-ref.outputs.sha }}
205208
206209 - name : Install Rust ${{ needs.get-configs.outputs.rust-toolchain }}
207- uses : dtolnay/rust-toolchain@stable
210+ uses : dtolnay/rust-toolchain@4360b52568e2003a75bf9bc1d59f33a8e3fc893c
208211 with :
209212 toolchain : ${{ needs.get-configs.outputs.rust-toolchain }}
210213
211214 - name : Cache Cargo
212- uses : Swatinem/rust-cache@v2
215+ if : ${{ github.event_name != 'workflow_dispatch' }}
216+ uses : Swatinem/rust-cache@v2.9.2
213217 with :
214218 workspaces : ${{ env.WORKING_DIR }}
215219
@@ -219,7 +223,7 @@ jobs:
219223 node-version : ${{ needs.get-configs.outputs.node-version }}
220224
221225 - name : Install wasm-pack ${{ needs.get-configs.outputs.wasm-pack-version }}
222- uses : taiki-e/install-action@v2
226+ uses : taiki-e/install-action@v2.86.7
223227 with :
224228 tool : wasm-pack@${{ needs.get-configs.outputs.wasm-pack-version }}
225229
@@ -272,12 +276,13 @@ jobs:
272276 ref : ${{ needs.resolve-ref.outputs.sha }}
273277
274278 - name : Install Rust ${{ needs.get-configs.outputs.rust-toolchain }}
275- uses : dtolnay/rust-toolchain@stable
279+ uses : dtolnay/rust-toolchain@4360b52568e2003a75bf9bc1d59f33a8e3fc893c
276280 with :
277281 toolchain : ${{ needs.get-configs.outputs.rust-toolchain }}
278282
279283 - name : Cache Cargo
280- uses : Swatinem/rust-cache@v2
284+ if : ${{ github.event_name != 'workflow_dispatch' }}
285+ uses : Swatinem/rust-cache@v2.9.2
281286 with :
282287 workspaces : ${{ env.WORKING_DIR }}
283288
@@ -320,12 +325,13 @@ jobs:
320325 ref : ${{ needs.resolve-ref.outputs.sha }}
321326
322327 - name : Install Rust ${{ needs.get-configs.outputs.rust-toolchain }}
323- uses : dtolnay/rust-toolchain@stable
328+ uses : dtolnay/rust-toolchain@4360b52568e2003a75bf9bc1d59f33a8e3fc893c
324329 with :
325330 toolchain : ${{ needs.get-configs.outputs.rust-toolchain }}
326331
327332 - name : Cache Cargo
328- uses : Swatinem/rust-cache@v2
333+ if : ${{ github.event_name != 'workflow_dispatch' }}
334+ uses : Swatinem/rust-cache@v2.9.2
329335 with :
330336 workspaces : ${{ env.WORKING_DIR }}
331337
@@ -376,13 +382,14 @@ jobs:
376382 ref : ${{ needs.resolve-ref.outputs.sha }}
377383
378384 - name : Install Rust ${{ needs.get-configs.outputs.rust-toolchain }}
379- uses : dtolnay/rust-toolchain@stable
385+ uses : dtolnay/rust-toolchain@4360b52568e2003a75bf9bc1d59f33a8e3fc893c
380386 with :
381387 toolchain : ${{ needs.get-configs.outputs.rust-toolchain }}${{ matrix.target && format('-{0}', matrix.target) || '' }}
382388 targets : ${{ matrix.target || '' }}
383389
384390 - name : Cache Cargo
385- uses : Swatinem/rust-cache@v2
391+ if : ${{ github.event_name != 'workflow_dispatch' }}
392+ uses : Swatinem/rust-cache@v2.9.2
386393 with :
387394 workspaces : ${{ env.WORKING_DIR }}
388395
@@ -392,6 +399,7 @@ jobs:
392399 go-version : ${{ needs.get-configs.outputs.go-version }}
393400
394401 - name : Cache uniffi-bindgen-go
402+ if : ${{ github.event_name != 'workflow_dispatch' }}
395403 id : cache-uniffi-bindgen-go
396404 uses : actions/cache@v4
397405 with :
@@ -528,7 +536,7 @@ jobs:
528536 echo "Merged JVM jar:"; ls -1 bindings-jvm/generated
529537
530538 - name : Create Pull Request
531- uses : peter-evans/create-pull-request@v8
539+ uses : peter-evans/create-pull-request@v8.1.1
532540 with :
533541 commit-message : ' chore: Update bindings'
534542 branch : ${{ needs.resolve-ref.outputs.pr-branch }}
0 commit comments