Skip to content

Commit 8baa678

Browse files
committed
Test reverting GH cache changes to see if there is any correlation with Ubuntu builds getting exterminated
Signed-off-by: itowlson <[email protected]>
1 parent 9b582f0 commit 8baa678

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

.github/actions/spin-ci-dependencies/action.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,6 @@ runs:
114114
if: ${{ inputs.rust-cache == 'true' }}
115115
with:
116116
shared-key: "${{ runner.os }}-full-${{ hashFiles('./Cargo.lock', './os-release') }}"
117-
save-if: ${{ github.ref == 'refs/heads/main' }}
118117

119118
## Install nomad
120119
- name: Install nomad

.github/workflows/build.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ jobs:
4444
with:
4545
rust: true
4646
rust-wasm: true
47+
rust-cache: true
4748

4849
- name: Run lints on main code
4950
run: BUILD_SPIN_EXAMPLES=0 make lint
@@ -63,6 +64,7 @@ jobs:
6364
with:
6465
rust: true
6566
rust-wasm: true
67+
rust-cache: true
6668

6769
- name: Cargo Build
6870
run: cargo build --workspace --release --all-targets --features openssl/vendored --features all-tests
@@ -97,6 +99,7 @@ jobs:
9799
with:
98100
rust: true
99101
rust-cross: true
102+
rust-cache: true
100103

101104
- name: Cargo Build
102105
run: cross build --target ${{ matrix.config.target }} --release --features openssl/vendored
@@ -124,7 +127,7 @@ jobs:
124127
with:
125128
rust: true
126129
rust-wasm: true
127-
rust-cache: "${{ matrix.os == 'windows-latest' }} || ${{ matrix.os == 'macos-15-intel' }}"
130+
rust-cache: true
128131
openssl-windows: "${{ matrix.os == 'windows-latest' }}"
129132

130133
- name: Cargo Build
@@ -153,6 +156,7 @@ jobs:
153156
with:
154157
rust: true
155158
rust-wasm: true
159+
rust-cache: true
156160
nomad: true
157161

158162
- name: Check disk space (Before)

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,7 @@ jobs:
331331
with:
332332
rust: true
333333
rust-cross: true
334+
rust-cache: true
334335

335336
- name: Cargo Build
336337
run: cross build --target ${{ matrix.config.target }} --release --features openssl/vendored

0 commit comments

Comments
 (0)