Skip to content

Only cache the cargo registry #17

Only cache the cargo registry

Only cache the cargo registry #17

Workflow file for this run

name: Test
on:
push:
pull_request:
jobs:
test:
name: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
with:
# Only cache the cargo registry
cache-targets: false
- name: Run sccache-cache
uses: mozilla-actions/[email protected]
- run: cargo check
env:
SCCACHE_GHA_ENABLED: "true"
RUSTC_WRAPPER: "sccache"