Change ordering in check_style

Piotr Osiewicz created

Change summary

.github/workflows/run_tests.yml                | 8 ++++----
tooling/xtask/src/tasks/workflows/run_tests.rs | 2 +-
2 files changed, 5 insertions(+), 5 deletions(-)

Detailed changes

.github/workflows/run_tests.yml 🔗

@@ -62,6 +62,10 @@ jobs:
     if: github.repository_owner == 'zed-industries'
     runs-on: namespace-profile-4x8-ubuntu-2204
     steps:
+    - name: steps::checkout_repo
+      uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
+      with:
+        clean: false
     - name: steps::cache_rust_dependencies_namespace
       uses: namespacelabs/nscloud-cache-action@v1
       with:
@@ -69,10 +73,6 @@ jobs:
         path: |-
           /home/runner/.cargo/bin/cargo-nextest
           /home/runner/.cargo/bin/cargo-about
-    - name: steps::checkout_repo
-      uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
-      with:
-        clean: false
     - name: steps::setup_pnpm
       uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2
       with:

tooling/xtask/src/tasks/workflows/run_tests.rs 🔗

@@ -225,8 +225,8 @@ fn check_style() -> NamedJob {
     named::job(
         release_job(&[])
             .runs_on(runners::LINUX_MEDIUM)
-            .add_step(steps::cache_rust_dependencies_namespace())
             .add_step(steps::checkout_repo())
+            .add_step(steps::cache_rust_dependencies_namespace())
             .add_step(steps::setup_pnpm())
             .add_step(steps::script("./script/prettier"))
             .add_step(steps::script("./script/check-todos"))