ci: 补充后端 Rust 与导出字体环境

This commit is contained in:
Codex
2026-09-13 09:03:38 +08:00
parent 301ed3b614
commit 96fd7aa74c
+7
View File
@@ -7,6 +7,9 @@ on:
branches: [main, "feat/**", "fix/**", "chore/**"]
workflow_dispatch:
env:
APP_EXPORT_FONT: /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf
jobs:
docs-check:
runs-on: ubuntu-latest
@@ -19,6 +22,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: 安装 Rust 工具链
run: |
curl --proto '=https' --tlsv1.2 -fsSL https://sh.rustup.rs | sh -s -- -y --profile minimal
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
- name: 安装 uv
run: |
curl -LsSf https://astral.sh/uv/0.9.24/install.sh | sh