From 23d9598875bf6fe7a77079a7aade27b48326ebad Mon Sep 17 00:00:00 2001
From: Denis Varlakov <denis@dfns.co>
Date: Thu, 23 Nov 2023 11:16:00 +0000
Subject: [PATCH] Fix CI

---
 .github/workflows/rust.yml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml
index 3a105a3..87767e3 100644
--- a/.github/workflows/rust.yml
+++ b/.github/workflows/rust.yml
@@ -27,16 +27,22 @@ jobs:
   check-fmt:
     runs-on: ubuntu-latest
     steps:
+    - uses: actions/checkout@v3
     - name: Check formatting
       run: cargo fmt --all -- --check
   check-docs:
     runs-on: ubuntu-latest
     steps:
+    - uses: actions/checkout@v3
+    - uses: Swatinem/rust-cache@v2
+      with:
+        cache-on-failure: "true"
     - name: Check docs
       run: RUSTDOCFLAGS="-D warnings" cargo doc --no-deps --all-features
   clippy:
     runs-on: ubuntu-latest
     steps:
+    - uses: actions/checkout@v3
     - uses: Swatinem/rust-cache@v2
       with:
         cache-on-failure: "true"