👷: add gitea ci

This commit is contained in:
VC
2025-12-03 15:12:52 +01:00
parent 27402df1fd
commit 1d4ce867e5
2 changed files with 43 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
---
name: rust-check
on: # yamllint disable-line rule:truthy
- push
jobs:
rust-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: dtolnay/rust-toolchain@stable
with:
components: "clippy,rustfmt"
- run: cargo fmt -- --check
- run: cargo check
- run: cargo clippy -- -D warnings
- run: cargo test
- run: cargo build