ci: replace actions/checkout with raw git clone
Some checks failed
CI / check (push) Failing after 3m33s
CI / build (push) Has been skipped

This commit is contained in:
xfy 2026-06-12 16:42:17 +08:00
parent 99e1f2e98d
commit cab12a1e5e

View File

@ -11,7 +11,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
run: |
git init
git remote add origin https://git.rua.plus/${{ github.repository }}.git
git fetch --depth 1 origin ${{ github.sha }}
git checkout ${{ github.sha }}
- name: Install Rust toolchain
run: |
@ -49,7 +53,11 @@ jobs:
needs: check
steps:
- name: Checkout
uses: actions/checkout@v4
run: |
git init
git remote add origin https://git.rua.plus/${{ github.repository }}.git
git fetch --depth 1 origin ${{ github.sha }}
git checkout ${{ github.sha }}
- name: Install Rust toolchain
run: |