Skip to content

Commit f73573f

Browse files
committed
ci.yml cache
1 parent 6f4d834 commit f73573f

File tree

2 files changed

+8
-17
lines changed

2 files changed

+8
-17
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,14 @@ env:
1313
jobs:
1414
check:
1515
runs-on: ubuntu-latest
16-
container: rust:alpine
16+
container: rust:1.89
1717

1818
steps:
1919
- name: checkout
2020
uses: actions/checkout@v4
21-
- name: bash # required for dtolnay/rust-toolchain on alpine
22-
run: apk add --no-cache bash
21+
- uses: Swatinem/rust-cache@v2
22+
with:
23+
cache-all-crates: "true"
2324
- name: install
2425
uses: dtolnay/rust-toolchain@stable
2526
with:
@@ -30,10 +31,13 @@ jobs:
3031

3132
test:
3233
runs-on: ubuntu-latest
33-
container: rust:alpine
34+
container: rust:1.89
3435
needs: check
3536
steps:
3637
- name: checkout
3738
uses: actions/checkout@v4
39+
- uses: Swatinem/rust-cache@v2
40+
with:
41+
cache-all-crates: "true"
3842
- name: test
3943
run: cargo test --all-features

run.sh

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)