From 218edb1137ce9f571aa7faa079605d9f94be1204 Mon Sep 17 00:00:00 2001
From: Jade Ellis <jade@ellis.link>
Date: Sun, 11 May 2025 20:39:50 +0100
Subject: [PATCH] ci: Use timelord in clippy check

---
 .forgejo/workflows/formatting.yml | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/.forgejo/workflows/formatting.yml b/.forgejo/workflows/formatting.yml
index 7ca327b6..2f513b91 100644
--- a/.forgejo/workflows/formatting.yml
+++ b/.forgejo/workflows/formatting.yml
@@ -65,7 +65,11 @@ jobs:
             ~/.cargo/registry
             !~/.cargo/registry/src
           key: rust-registry-${{hashFiles('**/Cargo.lock') }}
-      - name: Check formatting
+      - uses: ./.forgejo/actions/timelord
+        with:
+          key: sccache-v0
+          path: .
+      - name: Clippy
         run: |
           cargo clippy \
             --workspace \
@@ -75,4 +79,4 @@ jobs:
             -D warnings
 
       - name: Show sccache stats
-        run: sccache --show-stats
+        run: sccache --show-stats
\ No newline at end of file