From d14e1b26085a761bf210d576391486ce771cfac0 Mon Sep 17 00:00:00 2001 From: bunnie Date: Thu, 11 Jan 2024 21:56:52 +0800 Subject: [PATCH] another try... maybe i'm reading the gh automation error message wrong? --- .github/workflows/rustfmt_check.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/rustfmt_check.yml b/.github/workflows/rustfmt_check.yml index ab860b605..876d2965b 100644 --- a/.github/workflows/rustfmt_check.yml +++ b/.github/workflows/rustfmt_check.yml @@ -15,8 +15,8 @@ jobs: - name: Ensure the `main` branch rustfmt is applied for the run run: | - git fetch --no-tags --prune --no-recurse-submodules --depth=1 origin origin/main - git checkout main rustfmt.toml + git fetch --no-tags --prune --no-recurse-submodules --depth=1 origin main + git checkout origin/main rustfmt.toml - name: Run cargo +nightly fmt --check run: cargo +nightly fmt --check