File tree Expand file tree Collapse file tree 3 files changed +2
-6
lines changed
actions/spin-ci-dependencies Expand file tree Collapse file tree 3 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -114,6 +114,7 @@ runs:
114
114
if : ${{ inputs.rust-cache == 'true' }}
115
115
with :
116
116
shared-key : " ${{ runner.os }}-full-${{ hashFiles('./Cargo.lock', './os-release') }}"
117
+ save-if : ${{ github.ref == 'refs/heads/main' }}
117
118
118
119
# # Install nomad
119
120
- name : Install nomad
Original file line number Diff line number Diff line change 44
44
with :
45
45
rust : true
46
46
rust-wasm : true
47
- rust-cache : true
48
47
49
48
- name : Run lints on main code
50
49
run : BUILD_SPIN_EXAMPLES=0 make lint
64
63
with :
65
64
rust : true
66
65
rust-wasm : true
67
- rust-cache : true
68
66
69
67
- name : Cargo Build
70
68
run : cargo build --workspace --release --all-targets --features openssl/vendored --features all-tests
99
97
with :
100
98
rust : true
101
99
rust-cross : true
102
- rust-cache : true
103
100
104
101
- name : Cargo Build
105
102
run : cross build --target ${{ matrix.config.target }} --release --features openssl/vendored
@@ -127,7 +124,7 @@ jobs:
127
124
with :
128
125
rust : true
129
126
rust-wasm : true
130
- rust-cache : true
127
+ rust-cache : " ${{ matrix.os == 'windows-latest' }} || ${{ matrix.os == 'macos-13' }} "
131
128
openssl-windows : " ${{ matrix.os == 'windows-latest' }}"
132
129
133
130
- name : Cargo Build
@@ -156,7 +153,6 @@ jobs:
156
153
with :
157
154
rust : true
158
155
rust-wasm : true
159
- rust-cache : true
160
156
nomad : true
161
157
162
158
- name : Check disk space (Before)
Original file line number Diff line number Diff line change @@ -331,7 +331,6 @@ jobs:
331
331
with :
332
332
rust : true
333
333
rust-cross : true
334
- rust-cache : true
335
334
336
335
- name : Cargo Build
337
336
run : cross build --target ${{ matrix.config.target }} --release --features openssl/vendored
You can’t perform that action at this time.
0 commit comments