Commit 443ad241b4
Unregistered key
Layout: unified · split
.github/workflows/ci.yml +5 −5
| @@ -14,6 +14,9 @@ jobs: | ||
| 14 | 14 | matrix: |
| 15 | 15 | platform: [ubuntu-latest, windows-latest, macos-latest] |
| 16 | 16 | runs-on: ${{ matrix.platform }} |
| 17 | env: | |
| 18 | SCCACHE_GHA_ENABLED: "true" | |
| 19 | RUSTC_WRAPPER: "sccache" | |
| 17 | 20 | steps: |
| 18 | 21 | - name: Checkout code |
| 19 | 22 | uses: actions/checkout@v3 |
| @@ -30,11 +33,8 @@ jobs: | ||
| 30 | 33 | with: |
| 31 | 34 | path: ~/.cargo/registry |
| 32 | 35 | key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }} |
| 33 | - name: Cache cargo build | |
| 34 | uses: actions/cache@v3 | |
| 35 | with: | |
| 36 | path: target | |
| 37 | key: ${{ runner.os }}-cargo-build-${{ hashFiles('**/Cargo.lock') }} | |
| 36 | - name: Run sccache-cache | |
| 37 | uses: mozilla-actions/sccache-action@v0.0.3 | |
| 38 | 38 | - name: Check formatting |
| 39 | 39 | run: cargo +nightly fmt --all -- --check |
| 40 | 40 | - name: Check Clippy |