CI: use cache for tests

This commit is contained in:
Alexander Weiss 2022-06-13 21:34:25 +02:00
parent 7e34193ea7
commit 98e702c8b5
3 changed files with 2080 additions and 1 deletions

View File

@ -18,6 +18,7 @@ jobs:
profile: minimal
toolchain: stable
override: true
- uses: Swatinem/rust-cache@v1
- uses: actions-rs/cargo@v1
with:
command: check
@ -48,6 +49,7 @@ jobs:
toolchain: stable
components: clippy
override: true
- uses: Swatinem/rust-cache@v1
- uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}

View File

@ -18,11 +18,12 @@ jobs:
profile: minimal
toolchain: stable
override: true
- uses: Swatinem/rust-cache@v1
- uses: actions-rs/cargo@v1
with:
command: test
test_macost:
test_macos:
name: Test on MacOS
runs-on: macos-latest
steps:
@ -33,6 +34,7 @@ jobs:
toolchain: stable
overrideo: true
target: x86_64-apple-darwin
- uses: Swatinem/rust-cache@v1
- uses: actions-rs/cargo@v1
with:
command: test

2075
Cargo.lock generated Normal file

File diff suppressed because it is too large Load Diff