From 9b58df0e85786fcec45a2c1bb563c13a1dbe8da8 Mon Sep 17 00:00:00 2001 From: Phani Pavan K Date: Sun, 15 Mar 2026 15:59:07 +0000 Subject: [PATCH] Add .gitea/workflows/test.yaml --- .gitea/workflows/test.yaml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .gitea/workflows/test.yaml diff --git a/.gitea/workflows/test.yaml b/.gitea/workflows/test.yaml new file mode 100644 index 0000000..53d7f1d --- /dev/null +++ b/.gitea/workflows/test.yaml @@ -0,0 +1,27 @@ +on: [push, pull_request] + +jobs: + Tests: + name: Tests + runs-on: linux-arm64 + steps: + - name: Checkout Code + uses: actions/checkout@v4 + + - name: Setup Rust + uses: actions-rust-lang/setup-rust-toolchain@v1 + + - name: Install Clippy + run: rustup component add clippy + + - name: Install RustFMT + run: rustup component add rustfmt + + - name: Run format checker + run: cargo fmt --all -- --check + + - name: Run linter + run: cargo clippy -- + + - name: Run tests + run: cargo test \ No newline at end of file