From 8ce5c027307f5a4e737853ab861687b8f1037004 Mon Sep 17 00:00:00 2001 From: hhs <386998068@qq.com> Date: Sat, 13 Jun 2026 11:45:08 +0800 Subject: [PATCH 1/2] =?UTF-8?q?ci:=20=E7=BB=9F=E4=B8=80=20workflow=20?= =?UTF-8?q?=E6=AD=A5=E9=AA=A4=E5=90=8D=E7=A7=B0=E4=B8=BA=E8=8B=B1=E6=96=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/backend-ci.yml | 7 ++++--- .gitea/workflows/frontend-ci.yml | 7 ++++--- .gitea/workflows/health-test.yml | 19 ++++++++++++------- 3 files changed, 20 insertions(+), 13 deletions(-) diff --git a/.gitea/workflows/backend-ci.yml b/.gitea/workflows/backend-ci.yml index 481e097..f055713 100644 --- a/.gitea/workflows/backend-ci.yml +++ b/.gitea/workflows/backend-ci.yml @@ -14,15 +14,16 @@ jobs: run: working-directory: backend steps: - - name: Install Node.js (for checkout action) + - name: Setup Node.js run: | sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories apk add --no-cache nodejs working-directory: / - - uses: "http://8.161.227.145:3000/huanghaosheng/checkout@releases/v4" + - name: Checkout + uses: "http://8.161.227.145:3000/huanghaosheng/checkout@releases/v4" - - name: Download dependencies + - name: Download Dependencies run: go mod download env: GOPROXY: https://goproxy.cn,direct diff --git a/.gitea/workflows/frontend-ci.yml b/.gitea/workflows/frontend-ci.yml index a78b641..9c035f5 100644 --- a/.gitea/workflows/frontend-ci.yml +++ b/.gitea/workflows/frontend-ci.yml @@ -14,13 +14,14 @@ jobs: run: working-directory: frontend steps: - - uses: "http://8.161.227.145:3000/huanghaosheng/checkout@releases/v4" + - name: Checkout + uses: "http://8.161.227.145:3000/huanghaosheng/checkout@releases/v4" - - name: Install dependencies + - name: Install Dependencies run: npm ci - name: Lint run: npm run lint - - name: Type check & Build + - name: Type Check & Build run: npm run build diff --git a/.gitea/workflows/health-test.yml b/.gitea/workflows/health-test.yml index 59da05d..5ae3091 100644 --- a/.gitea/workflows/health-test.yml +++ b/.gitea/workflows/health-test.yml @@ -8,12 +8,17 @@ jobs: runs-on: aliyun container: node:22-alpine steps: - - run: echo "🎉 Triggered by ${{ gitea.event_name }} event" - - run: echo "🌿 Branch: ${{ gitea.ref }}, Repo: ${{ gitea.repository }}" - - run: echo "🐧 Running on ${{ runner.os }}, workspace: ${{ gitea.workspace }}" - - name: Check out repository code + - name: Event Info + run: echo "🎉 Triggered by ${{ gitea.event_name }} event" + - name: Branch Info + run: echo "🌿 Branch: ${{ gitea.ref }}, Repo: ${{ gitea.repository }}" + - name: Runner Info + run: echo "🐧 Running on ${{ runner.os }}, workspace: ${{ gitea.workspace }}" + - name: Checkout uses: "http://8.161.227.145:3000/huanghaosheng/checkout@releases/v4" - - run: echo "💡 ${{ gitea.repository }} has been cloned to the runner" - - name: List files in the repository + - name: Checkout Done + run: echo "💡 ${{ gitea.repository }} has been cloned to the runner" + - name: List Files run: ls ${{ gitea.workspace }} - - run: echo "🍏 Job status: ${{ job.status }}" + - name: Job Status + run: echo "🍏 Job status: ${{ job.status }}" From c7f741943d9f2c5a1a9ab53b4ff7e6c0d6dc5e77 Mon Sep 17 00:00:00 2001 From: hhs <386998068@qq.com> Date: Sat, 13 Jun 2026 11:46:34 +0800 Subject: [PATCH 2/2] =?UTF-8?q?ci:=20=E7=A7=BB=E9=99=A4=20health-test=20?= =?UTF-8?q?=E5=B7=A5=E4=BD=9C=E6=B5=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/health-test.yml | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 .gitea/workflows/health-test.yml diff --git a/.gitea/workflows/health-test.yml b/.gitea/workflows/health-test.yml deleted file mode 100644 index 5ae3091..0000000 --- a/.gitea/workflows/health-test.yml +++ /dev/null @@ -1,24 +0,0 @@ -name: Health Test -run-name: ${{ gitea.actor }} is testing Gitea Actions 🚀 - -on: [push] - -jobs: - health: - runs-on: aliyun - container: node:22-alpine - steps: - - name: Event Info - run: echo "🎉 Triggered by ${{ gitea.event_name }} event" - - name: Branch Info - run: echo "🌿 Branch: ${{ gitea.ref }}, Repo: ${{ gitea.repository }}" - - name: Runner Info - run: echo "🐧 Running on ${{ runner.os }}, workspace: ${{ gitea.workspace }}" - - name: Checkout - uses: "http://8.161.227.145:3000/huanghaosheng/checkout@releases/v4" - - name: Checkout Done - run: echo "💡 ${{ gitea.repository }} has been cloned to the runner" - - name: List Files - run: ls ${{ gitea.workspace }} - - name: Job Status - run: echo "🍏 Job status: ${{ job.status }}"