docs: public README + generic CI workflow

This commit is contained in:
Sulkta 2026-06-28 13:12:32 -07:00
parent 5b8ff3c5f1
commit d32db8800e
2 changed files with 131 additions and 27 deletions

29
.github/workflows/ci.yml vendored Normal file
View file

@ -0,0 +1,29 @@
name: ci
on:
push:
branches: [main]
pull_request:
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: install rust
uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy
- name: fmt
run: cargo fmt --all --check
- name: clippy
run: cargo clippy --all-targets -- -D warnings
- name: build
run: cargo build --all-targets
- name: test
run: cargo test