From 6368563633eb244836f67397a6f11c98e14c0da7 Mon Sep 17 00:00:00 2001 From: KiriAky 107 Date: Sun, 13 Sep 2026 09:34:28 +0800 Subject: [PATCH] =?UTF-8?q?ci:=20=E8=A1=A5=E9=BD=90=20Rust=20=E5=8D=8F?= =?UTF-8?q?=E8=AE=AE=E6=B5=8B=E8=AF=95=E5=90=8E=E7=AB=AF=E7=8E=AF=E5=A2=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index f6fa4cd..5672d57 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -76,5 +76,11 @@ jobs: run: | curl --proto '=https' --tlsv1.2 -fsSL https://sh.rustup.rs | sh -s -- -y --profile minimal --component rustfmt,clippy echo "$HOME/.cargo/bin" >> "$GITHUB_PATH" + - name: 准备协议测试所需的后端环境 + run: | + curl -LsSf https://astral.sh/uv/0.9.24/install.sh | sh + export PATH="$HOME/.local/bin:$PATH" + uv sync --frozen + working-directory: backend - run: cargo fmt --check && cargo test --lib --locked && cargo clippy --lib --locked -- -D warnings working-directory: frontend/src-tauri