ci: use another cache for clippy (#6726)

closes #6715
This commit is contained in:
Boshen 2024-10-21 12:00:18 +08:00 committed by GitHub
parent 2c569a4dbf
commit 3e2adfdcc7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -176,7 +176,8 @@ jobs:
- uses: taiki-e/checkout-action@v1
- uses: Boshen/setup-rust@main
with:
cache-key: warm
save-cache: ${{ github.ref_name == 'main' }}
cache-key: clippy
components: clippy
tools: ast-grep
- run: cargo lint -- -D warnings