ci: Add cache back again (#435)

* ci: Add cache back again

* comments
This commit is contained in:
Clement Tsang 2021-03-12 21:41:48 -05:00 committed by GitHub
parent d8f8a92b55
commit 4d46e7159b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 1 deletions

View File

@ -33,7 +33,7 @@ jobs:
components: rustfmt
- run: cargo fmt --all -- --check
# Check clippy. This doesn't check ARM though.
# Check clippy. Note that this doesn't check ARM.
clippy:
runs-on: ${{ matrix.os }}
strategy:
@ -171,6 +171,8 @@ jobs:
override: true
target: ${{ matrix.triple.target }}
- uses: Swatinem/rust-cache@v1
- name: Check
uses: actions-rs/cargo@v1
with:
@ -178,6 +180,7 @@ jobs:
args: --all-targets --verbose --target=${{ matrix.triple.target }} --no-default-features
use-cross: ${{ matrix.triple.cross }}
# Run tests on a subset of platforms
tests:
needs: [check]
name: Test ${{ matrix.os }}
@ -199,6 +202,8 @@ jobs:
toolchain: stable
override: true
- uses: Swatinem/rust-cache@v1
- name: Run tests
run: cargo test --no-fail-fast
env:

View File

@ -37,6 +37,7 @@
"SEGV",
"SIGTERM",
"STKFLT",
"Swatinem",
"TEBI",
"TERA",
"TSTP",