Skip to content

feat: add dry-run mode #27

feat: add dry-run mode

feat: add dry-run mode #27

Workflow file for this run

name: Check
on:
push:
branches: [ main ]
pull_request:
jobs:
clippy:
name: Clippy (${{ matrix.name }})
runs-on: ${{ matrix.os }}
permissions:
contents: read
strategy:
fail-fast: false
matrix:
include:
- name: Windows
os: windows-latest
target: x86_64-pc-windows-msvc
- name: Linux
os: ubuntu-latest
target: x86_64-unknown-linux-gnu
- name: macOS
os: macos-latest
target: aarch64-apple-darwin
steps:
- uses: actions/checkout@v6
- name: Setup Rust toolchain
run: |
rustup toolchain install
rustup target add ${{ matrix.target }}
- name: Cache
uses: Swatinem/rust-cache@v2
with:
cache-on-failure: "true"
cache-all-crates: "true"
- name: Clippy
run: |
cargo clippy --all-targets --all-features --workspace --target ${{ matrix.target }} -- -D warnings