From ce5c419d5927c570c0e515c9528b47451b3956db Mon Sep 17 00:00:00 2001 From: Piotr Osiewicz <24362066+osiewicz@users.noreply.github.com> Date: Fri, 31 Oct 2025 16:28:23 +0100 Subject: [PATCH] Change ordering in check_style --- .github/workflows/run_tests.yml | 8 ++++---- tooling/xtask/src/tasks/workflows/run_tests.rs | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/run_tests.yml b/.github/workflows/run_tests.yml index 782accc60f5a5896e0678319f5b0bbe49e87d828..48f86f417c04cd72c1824b2e7aa27eec606806b8 100644 --- a/.github/workflows/run_tests.yml +++ b/.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: diff --git a/tooling/xtask/src/tasks/workflows/run_tests.rs b/tooling/xtask/src/tasks/workflows/run_tests.rs index 8df95c1ab38bb8ecf9e83bd764095b857b40f648..07228f719592bec6b223d9b9d4fccc7c56af21aa 100644 --- a/tooling/xtask/src/tasks/workflows/run_tests.rs +++ b/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"))