ci(cache): replace rust-cache with sccache-cache #98
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Clippy | |
on: [push] | |
env: | |
RUST_BACKTRACE: 1 | |
jobs: | |
clippy: | |
name: Clippy rust | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest, windows-latest, macos-latest] | |
rust: [stable] | |
steps: | |
- uses: actions/checkout/@v4 | |
- uses: dtolnay/rust-toolchain@master | |
with: | |
toolchain: stable | |
components: clippy | |
- name: Run sccache-cache | |
uses: mozilla-actions/sccache-action@v0.0.6 | |
env: | |
SCCACHE_GHA_ENABLED: "true" | |
RUSTC_WRAPPER: "sccache" | |
- name: Run Clippy Deny Warning | |
run: cargo clippy --tests --locked -- -D warnings |