ci: Use timelord in clippy check

This commit is contained in:
Jade Ellis 2025-05-11 20:39:50 +01:00 committed by magmaus3
parent 84fba31716
commit 218edb1137
Signed by: magmaus3
GPG key ID: C8AABFABFA2FAF66

View file

@ -65,7 +65,11 @@ jobs:
~/.cargo/registry ~/.cargo/registry
!~/.cargo/registry/src !~/.cargo/registry/src
key: rust-registry-${{hashFiles('**/Cargo.lock') }} key: rust-registry-${{hashFiles('**/Cargo.lock') }}
- name: Check formatting - uses: ./.forgejo/actions/timelord
with:
key: sccache-v0
path: .
- name: Clippy
run: | run: |
cargo clippy \ cargo clippy \
--workspace \ --workspace \
@ -75,4 +79,4 @@ jobs:
-D warnings -D warnings
- name: Show sccache stats - name: Show sccache stats
run: sccache --show-stats run: sccache --show-stats