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