Skip to content

Add mock collector

Add mock collector #16

Workflow file for this run

name: Rust CI
on:
pull_request:
branches: [ main ]
env:
CARGO_TERM_COLOR: always
jobs:
rust-checks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy
- name: Rust Cache
uses: Swatinem/rust-cache@v2
with:
cache-targets: "false"
cache-on-failure: "true"
- name: Check formatting
run: cargo fmt --all -- --check
- name: Run clippy
run: cargo clippy --workspace --all-targets --all-features -- -D warnings
- name: Run cargo check
run: cargo check --workspace --all-targets --all-features