add gitea workflow: cargo check, clippy, test, fmt
CI / build (push) Canceled after 46s

This commit is contained in:
2026-08-25 19:57:50 +00:00
parent f7ca39117a
commit f16f445259
+24
View File
@@ -0,0 +1,24 @@
name: CI
on:
push:
branches: [master]
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy
- name: cargo check
run: cargo check
- name: cargo clippy
run: cargo clippy -- -D warnings
- name: cargo test
run: cargo test
- name: cargo fmt --check
run: cargo fmt -- --check