Skip to content
This repository was archived by the owner on Dec 24, 2024. It is now read-only.

Commit e208399

Browse files
committed
add CI cache
1 parent f9a0253 commit e208399

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/clippy.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
toolchain: nightly
1919
components: clippy
2020
override: true
21+
- uses: Swatinem/rust-cache@v2
2122
- uses: actions-rs/clippy-check@v1
2223
with:
2324
token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/tests.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,10 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- uses: actions/checkout@master
16-
- id: component
17-
uses: actions-rs/components-nightly@v1
1816
- uses: actions-rs/toolchain@v1
1917
with:
2018
toolchain: ${{ steps.component.outputs.toolchain }}
2119
override: true
20+
- uses: Swatinem/rust-cache@v2
2221
- name: Run tests
2322
run: cargo test --verbose

0 commit comments

Comments
 (0)