diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1bd7ea46..4b05070e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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: diff --git a/.vscode/settings.json b/.vscode/settings.json index 5d567693..a006e543 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -37,6 +37,7 @@ "SEGV", "SIGTERM", "STKFLT", + "Swatinem", "TEBI", "TERA", "TSTP",