File tree Expand file tree Collapse file tree 3 files changed +21
-11
lines changed Expand file tree Collapse file tree 3 files changed +21
-11
lines changed Original file line number Diff line number Diff line change 1- 486f80629171817efc99ded97d6902b59a2c7e26
1+ ac9dac019eeafc3a1791bd564cbd8d1455f2a6e9
Original file line number Diff line number Diff line change 6161 id : set_arch
6262 shell : bash
6363 run : echo "ARCH=$(arch)" >> $GITHUB_ENV
64- # We often use Rust, so set up opinionated default caching
65- - name : Setup Rust cache
66- uses : Swatinem/rust-cache@v2
67- with :
68- cache-all-crates : true
69- # Only generate caches on push to git main
70- save-if : ${{ github.ref == 'refs/heads/main' }}
71- # Suppress actually using the cache for builds running from
72- # git main so that we avoid incremental compilation bugs
73- lookup-only : ${{ github.ref == 'refs/heads/main' }}
7464 # Install libvirt stack if requested
7565 - name : Install libvirt and virtualization stack
7666 if : ${{ inputs.libvirt == 'true' }}
Original file line number Diff line number Diff line change 1+ name : ' Setup Rust'
2+ description : ' Install Rust toolchain with caching and nextest'
3+ runs :
4+ using : ' composite'
5+ steps :
6+ - name : Install Rust toolchain
7+ uses : dtolnay/rust-toolchain@stable
8+ - name : Install nextest
9+ uses : taiki-e/install-action@v2
10+ with :
11+ tool : nextest
12+ - name : Setup Rust cache
13+ uses : Swatinem/rust-cache@v2
14+ with :
15+ cache-all-crates : true
16+ # Only generate caches on push to git main
17+ save-if : ${{ github.ref == 'refs/heads/main' }}
18+ # Suppress actually using the cache for builds running from
19+ # git main so that we avoid incremental compilation bugs
20+ lookup-only : ${{ github.ref == 'refs/heads/main' }}
You can’t perform that action at this time.
0 commit comments