From addedc1e4d18402e3e5c49cd3674d8206061573e Mon Sep 17 00:00:00 2001 From: 7000pctAUTO Date: Thu, 5 Feb 2026 14:56:39 +0000 Subject: [PATCH] Add Gitea Actions workflow: ci.yml --- .gitea/workflows/ci.yml | 27 ++++++++++++++++++++------- 1 file changed, 20 insertions(+), 7 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 45d673f..93d7089 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -10,11 +10,24 @@ jobs: test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - uses: actions/setup-rust@v1 + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Setup Rust + uses: actions-rs/toolchain@v1 with: - rust-version: '1.70' - - run: cargo build --all-features - - run: cargo test --all-features - - run: cargo clippy --all-features -- -D warnings - - run: cargo fmt --check \ No newline at end of file + toolchain: stable + profile: minimal + override: true + + - name: Build project + run: cargo build --all-features + + - name: Run tests + run: cargo test --all-features + + - name: Run clippy + run: cargo clippy --all-features -- -D warnings + + - name: Check formatting + run: cargo fmt --check