Enable CI caching
This commit is contained in:
parent
a39d734540
commit
cd905e01fd
1
.github/workflows/docs.yml
vendored
1
.github/workflows/docs.yml
vendored
@ -20,6 +20,7 @@ jobs:
|
||||
# Needed for use of unstable options
|
||||
toolchain: nightly
|
||||
override: true
|
||||
- uses: Swatinem/rust-cache@v1
|
||||
- name: Build docs
|
||||
uses: actions-rs/cargo@v1
|
||||
env:
|
||||
|
6
.github/workflows/msrv.yml
vendored
6
.github/workflows/msrv.yml
vendored
@ -25,6 +25,12 @@ jobs:
|
||||
profile: minimal
|
||||
toolchain: stable
|
||||
override: true
|
||||
- uses: Swatinem/rust-cache@v1
|
||||
with:
|
||||
# A stable compiler update should automatically not reuse old caches.
|
||||
# Add the MSRV as a stable cache key too so bumping it also gets us a
|
||||
# fresh cache.
|
||||
sharedKey: msrv1.55
|
||||
- name: Run checks
|
||||
uses: actions-rs/cargo@v1
|
||||
with:
|
||||
|
1
.github/workflows/nightly.yml
vendored
1
.github/workflows/nightly.yml
vendored
@ -20,6 +20,7 @@ jobs:
|
||||
toolchain: nightly
|
||||
override: true
|
||||
components: rustfmt, clippy
|
||||
- uses: Swatinem/rust-cache@v1
|
||||
- name: Install cargo-sort
|
||||
uses: actions-rs/install@v0.1
|
||||
with:
|
||||
|
1
.github/workflows/stable.yml
vendored
1
.github/workflows/stable.yml
vendored
@ -19,6 +19,7 @@ jobs:
|
||||
profile: minimal
|
||||
toolchain: stable
|
||||
override: true
|
||||
- uses: Swatinem/rust-cache@v1
|
||||
- name: Run checks
|
||||
uses: actions-rs/cargo@v1
|
||||
with:
|
||||
|
Loading…
x
Reference in New Issue
Block a user