From 62a351f813c8c4c007328d00710fc0c7bc72585b Mon Sep 17 00:00:00 2001 From: bunnie Date: Thu, 11 Jan 2024 21:52:36 +0800 Subject: [PATCH] maybe this is the trick? ugh. --- .github/workflows/rustfmt_check.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/rustfmt_check.yml b/.github/workflows/rustfmt_check.yml index 4b08e7da7..ab860b605 100644 --- a/.github/workflows/rustfmt_check.yml +++ b/.github/workflows/rustfmt_check.yml @@ -15,7 +15,7 @@ jobs: - name: Ensure the `main` branch rustfmt is applied for the run run: | - git fetch --no-tags --prune --no-recurse-submodules --depth=1 origin main + git fetch --no-tags --prune --no-recurse-submodules --depth=1 origin origin/main git checkout main rustfmt.toml - name: Run cargo +nightly fmt --check