From 49157e2285250501b2d879cf19bbad5769a91561 Mon Sep 17 00:00:00 2001 From: Story Crater Bot <19826264+Riotpiaole@users.noreply.github.com> Date: Sat, 22 Aug 2026 00:47:12 -0700 Subject: [PATCH] fix(ci): use git clone instead of Node.js actions/checkout --- .gitea/workflows/ci.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index b33b406..c754485 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -9,7 +9,12 @@ jobs: check: runs-on: rust steps: - - uses: actions/checkout@v4 + - name: Checkout code + run: | + git init + git remote add origin https://forgejo.riotpiao.com/rock/poiman.git + git fetch origin ${{ github.ref_name }} --depth=1 + git checkout FETCH_HEAD - name: Check formatting run: cargo fmt -- --check || true