fix(ci): use git clone instead of Node.js actions/checkout
ci / check (push) Successful in 6s

This commit is contained in:
Story Crater Bot
2026-08-22 00:47:12 -07:00
parent aea0ccbbf7
commit 49157e2285
+6 -1
View File
@@ -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