ci: 移除 Install git 步骤
Some checks failed
CI/CD Pipeline / Code Quality (push) Successful in 15s
CI/CD Pipeline / Unit Tests (push) Failing after 4m53s
CI/CD Pipeline / Build Test Image (push) Has been skipped
CI/CD Pipeline / Build Production Image (push) Has been skipped
CI/CD Pipeline / Deploy to Test (push) Has been skipped
CI/CD Pipeline / Deploy to Production (push) Has been skipped

改用自定义镜像 duoqi-runner:bun-git(预装 git),无需每次 CI 安装。
This commit is contained in:
Wang Zhuoxuan 2026-04-17 13:49:13 +08:00
parent 4e05105edf
commit 02a50617e7

View File

@ -20,9 +20,6 @@ jobs:
name: Code Quality
runs-on: ubuntu-latest
steps:
- name: Install git
run: apt-get update && apt-get install -y git
- name: Checkout code
uses: actions/checkout@v4
@ -38,9 +35,6 @@ jobs:
runs-on: ubuntu-latest
needs: quality
steps:
- name: Install git
run: apt-get update && apt-get install -y git
- name: Checkout code
uses: actions/checkout@v4
@ -63,9 +57,6 @@ jobs:
needs: [quality, test]
if: github.ref == 'refs/heads/develop'
steps:
- name: Install git
run: apt-get update && apt-get install -y git
- name: Checkout code
uses: actions/checkout@v4
@ -89,9 +80,6 @@ jobs:
needs: [quality, test]
if: github.ref == 'refs/heads/main'
steps:
- name: Install git
run: apt-get update && apt-get install -y git
- name: Checkout code
uses: actions/checkout@v4