Skip to content

Commit 8f4cfa1

Browse files
authored
Merge pull request #8 from embassy-rs/cleanup
doc: add cleanup option
2 parents 396358f + 84839db commit 8f4cfa1

15 files changed

Lines changed: 1302 additions & 1304 deletions

.github/workflows/ci.yml

Lines changed: 26 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,16 @@ jobs:
1616
steps:
1717
- uses: actions/checkout@v4
1818
- uses: dtolnay/rust-toolchain@stable
19-
- uses: Swatinem/rust-cache@v2
19+
- name: ⚡ Cache
20+
uses: actions/cache@v4
21+
with:
22+
path: |
23+
~/.cargo/registry
24+
~/.cargo/git
25+
target
26+
key: ${{ runner.os }}-cargo
2027
- name: Run tests
21-
run: cargo test --verbose
28+
run: cargo test
2229

2330
clippy:
2431
name: Clippy
@@ -28,7 +35,14 @@ jobs:
2835
- uses: dtolnay/rust-toolchain@stable
2936
with:
3037
components: clippy
31-
- uses: Swatinem/rust-cache@v2
38+
- name: ⚡ Cache
39+
uses: actions/cache@v4
40+
with:
41+
path: |
42+
~/.cargo/registry
43+
~/.cargo/git
44+
target
45+
key: ${{ runner.os }}-cargo
3246
- name: Run clippy
3347
run: cargo clippy --all-targets --all-features -- -D warnings
3448

@@ -52,6 +66,13 @@ jobs:
5266
steps:
5367
- uses: actions/checkout@v4
5468
- uses: dtolnay/rust-toolchain@stable
55-
- uses: Swatinem/rust-cache@v2
69+
- name: ⚡ Cache
70+
uses: actions/cache@v4
71+
with:
72+
path: |
73+
~/.cargo/registry
74+
~/.cargo/git
75+
target
76+
key: ${{ runner.os }}-cargo
5677
- name: Build
57-
run: cargo build --verbose --release
78+
run: cargo build --release

0 commit comments

Comments
 (0)