Skip to content

Fix a minimum-versions issue #338

Fix a minimum-versions issue

Fix a minimum-versions issue #338

Workflow file for this run

name: lint
env:
RUST_BACKTRACE: 1
jobs:
fmt:
name: cargo fmt --check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
with: { components: rustfmt }
- run: cargo fmt --all -- --check
clippy:
name: cargo clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
with: { components: clippy }
- run: cargo --locked clippy --all --all-targets --all-features -- -D warnings
on:
merge_group:
types: [checks_requested]
pull_request:
branches: [main]