From 3348dd92955d1cc5e96164e26a1f7eeca0270696 Mon Sep 17 00:00:00 2001 From: Serendipity <3364451258@qq.com> Date: Fri, 22 May 2026 16:50:48 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 删 --- .gitea/workflows/ci.yml | 60 ----------------------------------------- 1 file changed, 60 deletions(-) delete mode 100644 .gitea/workflows/ci.yml diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml deleted file mode 100644 index 19bc701..0000000 --- a/.gitea/workflows/ci.yml +++ /dev/null @@ -1,60 +0,0 @@ -name: CI - 构建和测试 -on: - push: - branches: [main, develop] - pull_request: - branches: [main, develop] - -jobs: - check: - name: 类型检查 - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - name: 安装 Rust - run: | - curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y - . "$HOME/.cargo/env" - echo "$HOME/.cargo/bin" >> $GITHUB_PATH - - name: cargo check - run: cargo check --all-targets - - test: - name: 单元测试 - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - name: 安装 Rust - run: | - curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y - . "$HOME/.cargo/env" - echo "$HOME/.cargo/bin" >> $GITHUB_PATH - - name: cargo test - run: cargo test --all - - clippy: - name: 代码质量 - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - name: 安装 Rust - run: | - curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y - . "$HOME/.cargo/env" - echo "$HOME/.cargo/bin" >> $GITHUB_PATH - rustup component add clippy - - name: cargo clippy - run: cargo clippy --all-targets -- -D warnings - - build: - name: Linux 构建 - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - name: 安装 Rust - run: | - curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y - . "$HOME/.cargo/env" - echo "$HOME/.cargo/bin" >> $GITHUB_PATH - - name: cargo build - run: cargo build --release