Skip to content

Merge pull request #6 from memflow/scanner-cleanups #36

Merge pull request #6 from memflow/scanner-cleanups

Merge pull request #6 from memflow/scanner-cleanups #36

Workflow file for this run

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