ci: 新增 PR 轻量检查工作流, AGENTS.md 补充 CI/CD 自动部署说明

This commit is contained in:
yeuimu
2026-09-11 01:40:23 +00:00
parent 3336e3a20c
commit 387044a26c
2 changed files with 20 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
name: CI
on:
pull_request:
branches: [develop, main]
jobs:
test:
name: test
runs-on: ubuntu-latest
steps:
- name: 检出代码
uses: actions/checkout@v4
- name: 安装 uv
run: curl -LsSf https://astral.sh/uv/install.sh | sh
- name: 安装依赖
run: ~/.local/bin/uv sync --frozen
- name: 语法与导入检查
run: ~/.local/bin/uv run python -m compileall -q flows api