ci: 按锁文件使用国内 Python 镜像
CI / rust-core (push) Waiting to run
CI / docs-check (push) Successful in 27s
CI / backend-test (push) Successful in 3m33s
CI / service-test (push) Failing after 2m22s
CI / frontend-test (push) In progress
CI / rust-core (push) Waiting to run
CI / docs-check (push) Successful in 27s
CI / backend-test (push) Successful in 3m33s
CI / service-test (push) Failing after 2m22s
CI / frontend-test (push) In progress
This commit is contained in:
@@ -26,6 +26,8 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: 切换 Python 锁文件下载源
|
||||
run: python3 scripts/prepare-ci-uv-mirror.py
|
||||
- name: 安装 Rust 工具链
|
||||
run: |
|
||||
curl --proto '=https' --tlsv1.2 -fsSL https://sh.rustup.rs | sh -s -- -y --profile minimal
|
||||
@@ -46,6 +48,8 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: 切换 Python 锁文件下载源
|
||||
run: python3 scripts/prepare-ci-uv-mirror.py
|
||||
- run: corepack enable && corepack prepare pnpm@10.28.0 --activate
|
||||
- run: pnpm install --frozen-lockfile && pnpm build
|
||||
working-directory: server sync/console
|
||||
@@ -76,6 +80,8 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: 切换 Python 锁文件下载源
|
||||
run: python3 scripts/prepare-ci-uv-mirror.py
|
||||
- name: 安装 Rust 工具链
|
||||
run: |
|
||||
curl --proto '=https' --tlsv1.2 -fsSL https://sh.rustup.rs | sh -s -- -y --profile minimal --component rustfmt,clippy
|
||||
|
||||
Reference in New Issue
Block a user