simplify grpc subscription option checks and add github ci workflow

Made-with: Cursor
This commit is contained in:
mooncitydev
2026-04-04 04:25:17 +09:00
parent 7f505f0da5
commit 01701e97fc
2 changed files with 34 additions and 10 deletions
+25
View File
@@ -0,0 +1,25 @@
name: ci
on:
push:
branches: [main]
pull_request:
branches: [main]
env:
CARGO_TERM_COLOR: always
jobs:
rust:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy
- name: fmt
run: cargo fmt --all -- --check
- name: clippy
run: cargo clippy --all-targets --all-features
- name: test
run: cargo test --all-features