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