ci: separate lint workflow cache

This commit is contained in:
Ryan 2025-03-15 16:25:43 -04:00
parent 9886f251b8
commit ce98afb11d
Signed by: ErrorNoInternet
GPG Key ID: 2486BFB7B1E6A4A3

View File

@ -36,7 +36,7 @@ jobs:
feature: feature:
- name: default - name: default
- name: minimal-mimalloc - name: minimal+mimalloc
flags: "--no-default-features -F mimalloc" flags: "--no-default-features -F mimalloc"
- name: minimal - name: minimal
@ -61,7 +61,7 @@ jobs:
~/.cargo/registry/cache/ ~/.cargo/registry/cache/
~/.cargo/git/db/ ~/.cargo/git/db/
target/ target/
key: build_${{ matrix.os }}_${{ matrix.feature.name }}_${{ hashFiles('**.toml', 'Cargo.*') }} key: lint_${{ matrix.feature.name }}_${{ hashFiles('**.toml', 'Cargo.*') }}
- name: Switch to nightly toolchain - name: Switch to nightly toolchain
run: rustup default nightly run: rustup default nightly