Merge pull request #6 from memflow/scanner-cleanups #36
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| schedule: | |
| - cron: "0 8 * * 1" | |
| jobs: | |
| clippy-and-doc: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Install Rust toolchain | |
| uses: dtolnay/rust-toolchain@stable | |
| with: | |
| toolchain: 1.88.0 | |
| components: clippy, rustfmt | |
| - name: Check formatting (workspace) | |
| run: cargo fmt --all -- --check | |
| - name: Compile all workspace targets | |
| run: cargo check --workspace --all-targets --all-features | |
| - name: Run clippy (workspace) | |
| run: cargo clippy --workspace --all-targets --all-features -- -D warnings -D clippy::all | |
| - name: Build docs (workspace) | |
| run: cargo doc --workspace --no-deps |