Skip to content

workspace: limit duplicate dependencies (#871) #1824

workspace: limit duplicate dependencies (#871)

workspace: limit duplicate dependencies (#871) #1824

Workflow file for this run

name: Workspace
on:
pull_request:
paths-ignore:
- README.md
push:
branches: master
paths-ignore:
- README.md
env:
CARGO_INCREMENTAL: 0
RUSTFLAGS: "-Dwarnings"
jobs:
rustfmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
components: rustfmt
- run: cargo fmt --all -- --check
clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: 1.81.0
components: clippy
- run: cargo clippy --all-features -- -D warnings