Skip to content

Commit b6335f6

Browse files
committed
update steel action to remove cache
1 parent 9991ded commit b6335f6

File tree

1 file changed

+4
-24
lines changed

1 file changed

+4
-24
lines changed

.github/workflows/steel.yml

Lines changed: 4 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -100,14 +100,6 @@ jobs:
100100
- uses: dtolnay/rust-toolchain@stable
101101
with:
102102
components: rustfmt, clippy
103-
- name: Run sccache-cache
104-
if: github.event_name != 'release'
105-
uses: mozilla-actions/[email protected]
106-
- name: Set Rust cache env vars
107-
if: github.event_name != 'release'
108-
run: |
109-
echo "SCCACHE_GHA_ENABLED=true" >> $GITHUB_ENV
110-
echo "RUSTC_WRAPPER=sccache" >> $GITHUB_ENV
111103
- name: Run fmt and clippy
112104
run: |
113105
readarray -t all_projects < <(echo '${{ needs.changes.outputs.changed_projects }}' | jq -r '.[]?')
@@ -138,22 +130,14 @@ jobs:
138130
steps:
139131
- uses: actions/checkout@v4
140132
- uses: dtolnay/rust-toolchain@stable
141-
- name: Run sccache-cache
142-
if: github.event_name != 'release'
143-
uses: mozilla-actions/[email protected]
144-
- name: Set Rust cache env vars
145-
if: github.event_name != 'release'
146-
run: |
147-
echo "SCCACHE_GHA_ENABLED=true" >> $GITHUB_ENV
148-
echo "RUSTC_WRAPPER=sccache" >> $GITHUB_ENV
149-
- uses: actions/cache@v3
133+
- uses: actions/cache@v4
150134
with:
151135
path: ~/.cargo/bin/steel
152136
key: ${{ runner.os }}-steel-cli
153137
- name: Use Node.js
154138
uses: actions/setup-node@v4
155139
with:
156-
node-version: 20.x
140+
node-version: 'lts/*'
157141
check-latest: true
158142
- name: Setup build environment
159143
id: setup
@@ -253,7 +237,7 @@ jobs:
253237
chmod +x build_and_test.sh
254238
255239
- name: Setup Solana Beta
256-
uses: heyAyushh/setup-solana@v5.5
240+
uses: heyAyushh/setup-solana@v5.9
257241
with:
258242
solana-cli-version: beta
259243
- name: Build and Test with Beta
@@ -268,20 +252,16 @@ jobs:
268252
process_projects "beta"
269253
sccache --show-stats
270254
- name: Setup Solana Stable
271-
uses: heyAyushh/setup-solana@v5.5
255+
uses: heyAyushh/setup-solana@v5.9
272256
with:
273257
solana-cli-version: stable
274258
- name: Build and Test with Stable
275-
env:
276-
SCCACHE_GHA_ENABLED: "true"
277-
RUSTC_WRAPPER: "sccache"
278259
run: |
279260
source build_and_test.sh
280261
solana -V
281262
rustc -V
282263
solana-keygen new --no-bip39-passphrase --force
283264
process_projects "stable"
284-
sccache --show-stats
285265
286266
- name: Set failed projects output
287267
id: set-failed

0 commit comments

Comments
 (0)