ci: use validated pip mirror for release gates
Build and Test Quality Gate / Contract Web typecheck and build (pull_request) Successful in 6m2s
Security Quality Gate / npm audit, Bandit, pip-audit, detect-secrets (pull_request) Failing after 9m33s
Build and Test Quality Gate / Python tests and Contract API migration (pull_request) Failing after 44m1s

This commit is contained in:
2026-07-20 19:18:47 +08:00
parent 7bc74f06f2
commit 0003bfa05c
3 changed files with 11 additions and 1 deletions
@@ -42,6 +42,8 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 25
env:
PIP_INDEX_URL: https://pypi.tuna.tsinghua.edu.cn/simple
PIP_DISABLE_PIP_VERSION_CHECK: "1"
CONTRACT_API_ENVIRONMENT: test
CONTRACT_API_DATABASE_URL: "sqlite+pysqlite:///:memory:"
CONTRACT_API_DATABASE_AUTO_CREATE: "true"
@@ -16,6 +16,9 @@ jobs:
name: npm audit, Bandit, pip-audit, detect-secrets
runs-on: ubuntu-latest
timeout-minutes: 20
env:
PIP_INDEX_URL: https://pypi.tuna.tsinghua.edu.cn/simple
PIP_DISABLE_PIP_VERSION_CHECK: "1"
steps:
- name: Checkout