fix: 修改 runner 标签为 linux
CI / 代码检查 (push) Failing after 27s
CI / 单元测试 (push) Has been skipped
Test CI / 快速测试 (push) Failing after 3s
CI / CI 状态 (push) Failing after 0s

This commit is contained in:
2026-03-01 00:46:52 +08:00
parent 4e3ed1b849
commit 781e95c5c1
3 changed files with 7 additions and 7 deletions
+3 -3
View File
@@ -13,7 +13,7 @@ jobs:
# 代码检查
lint:
name: 代码检查
runs-on: ubuntu-latest
runs-on: linux
steps:
- name: 检出代码
uses: actions/checkout@v4
@@ -35,7 +35,7 @@ jobs:
# 单元测试
test:
name: 单元测试
runs-on: ubuntu-latest
runs-on: linux
needs: lint
steps:
- name: 检出代码
@@ -67,7 +67,7 @@ jobs:
# 构建状态
ci-status:
name: CI 状态
runs-on: ubuntu-latest
runs-on: linux
needs: [lint, test]
if: always()
steps:
+3 -3
View File
@@ -18,7 +18,7 @@ jobs:
# 部署到测试环境
deploy-staging:
name: 部署测试环境
runs-on: ubuntu-latest
runs-on: linux
if: github.ref == 'refs/heads/develop'
environment:
name: staging
@@ -69,7 +69,7 @@ jobs:
# 部署到正式环境
deploy-production:
name: 部署正式环境
runs-on: ubuntu-latest
runs-on: linux
if: github.ref == 'refs/heads/main'
environment:
name: production
@@ -131,7 +131,7 @@ jobs:
# 手动部署
manual-deploy:
name: 手动部署
runs-on: ubuntu-latest
runs-on: linux
if: github.event_name == 'workflow_dispatch'
environment:
name: ${{ github.event.inputs.environment }}
+1 -1
View File
@@ -10,7 +10,7 @@ jobs:
# 快速测试
quick-test:
name: 快速测试
runs-on: ubuntu-latest
runs-on: linux
steps:
- name: 检出代码
uses: actions/checkout@v4