From c0a54b5f0af728cf67529c835520e31057877546 Mon Sep 17 00:00:00 2001 From: Kerdonov Date: Sun, 9 Nov 2025 22:48:19 +0200 Subject: [PATCH] gitea workflow fix 1 --- .gitea/workflows/cargo-test.yml | 4 +++- .gitea/workflows/pipeline.yml | 13 ++++++++++++- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/cargo-test.yml b/.gitea/workflows/cargo-test.yml index 867cf0d..0aa402b 100644 --- a/.gitea/workflows/cargo-test.yml +++ b/.gitea/workflows/cargo-test.yml @@ -15,6 +15,8 @@ jobs: runs-on: ubuntu-latest steps: - - name: cargo test + - name: Checkout repo uses: actions/checkout@v4 + + - name: cargo test run: cargo test --verbose diff --git a/.gitea/workflows/pipeline.yml b/.gitea/workflows/pipeline.yml index c5a60e3..142d2c9 100644 --- a/.gitea/workflows/pipeline.yml +++ b/.gitea/workflows/pipeline.yml @@ -13,8 +13,19 @@ jobs: runs-on: ubuntu-latest steps: - - name: Test + - name: Checkout repo uses: actions/checkout@v4 + + - name: Update + run: apt update + + - name: Check formatting + run: cargo fmt --all -- --check + + - name: Run linter + run: cargo clippy -- -D warnings + + - name: Test run: cargo test --verbose - name: Build release