Use rust-cache action in ci

This commit is contained in:
Martin Frost 2023-02-13 22:03:20 +01:00
parent 639b7320ee
commit d58707a5b7
1 changed files with 2 additions and 0 deletions

View File

@ -14,6 +14,7 @@ jobs:
toolchain: stable toolchain: stable
override: true override: true
components: clippy, rustfmt components: clippy, rustfmt
- uses: Swatinem/rust-cache@v2
- uses: actions-rs/clippy-check@v1 - uses: actions-rs/clippy-check@v1
if: ${{ github.actor != 'dependabot[bot]' }} if: ${{ github.actor != 'dependabot[bot]' }}
with: with:
@ -38,6 +39,7 @@ jobs:
profile: minimal profile: minimal
toolchain: stable toolchain: stable
override: true override: true
- uses: Swatinem/rust-cache@v2
- run: cargo install mdsh mandown - run: cargo install mdsh mandown
- run: cargo build --release - run: cargo build --release
- run: ./build-manpages.sh - run: ./build-manpages.sh