From 5d8e5520afb800688498e1d9682effb2bd62e39c Mon Sep 17 00:00:00 2001 From: Story Crater Bot <19826264+Riotpiaole@users.noreply.github.com> Date: Fri, 21 Aug 2026 21:23:42 -0700 Subject: [PATCH] ci(main): add Rust check workflow --- .gitea/workflows/ci.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .gitea/workflows/ci.yaml diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml new file mode 100644 index 0000000..b33b406 --- /dev/null +++ b/.gitea/workflows/ci.yaml @@ -0,0 +1,18 @@ +name: ci + +on: + push: + branches: [main] + pull_request: + +jobs: + check: + runs-on: rust + steps: + - uses: actions/checkout@v4 + + - name: Check formatting + run: cargo fmt -- --check || true + + - name: Clippy lint + run: cargo clippy --all-targets || true