diff --git a/.gitea/workflows/test.yaml b/.gitea/workflows/test.yaml index cf76324..8ebc07c 100644 --- a/.gitea/workflows/test.yaml +++ b/.gitea/workflows/test.yaml @@ -10,14 +10,9 @@ jobs: runs-on: ubuntu-latest steps: - # 显式使用 gitea.com 上的 checkout 镜像 - name: Checkout Code - uses: https://git.dev.cereflow.cn/mirror/checkout@v6 - with: - # 对于镜像仓库,建议显式指定 fetch-depth 确保获取完整历史(如果需要) - fetch-depth: 1 - server-url: https://cantyonion.site/git - repository: cantyonion/leetcode + run: | + git clone https://cantyonion.site/git/cantyonion/leetcode.git . - name: Configure CMake # -B build 创建构建目录,-S . 指定源代码在当前目录