chore: Update CI with proper build, test, and lint
Some checks failed
CI / check (push) Failing after 41s
CI / test (push) Has been skipped
CI / lint (push) Has been skipped

This commit is contained in:
2026-02-04 10:16:46 +00:00
parent 8454a746f7
commit 4865862d1e

View File

@@ -20,4 +20,35 @@ jobs:
uses: dtolnay/rust-toolchain@stable uses: dtolnay/rust-toolchain@stable
- name: Check build - name: Check build
run: cargo check --no-default-features 2>&1 || true run: cargo check --no-default-features
test:
runs-on: ubuntu-latest
needs: check
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Rust
uses: dtolnay/rust-toolchain@stable
- name: Run tests
run: cargo test --no-default-features
lint:
runs-on: ubuntu-latest
needs: check
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Rust
uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy
- name: Check formatting
run: cargo fmt --check --no-default-features
- name: Run clippy
run: cargo clippy --no-default-features -- -D warnings