Skip to content

Fix/exact boundaries only #228

Fix/exact boundaries only

Fix/exact boundaries only #228

Workflow file for this run

name: autofix.ci
on:
workflow_call:
pull_request:
push:
branches: [ "main" ]
permissions:
contents: read
env:
rust_clippy: stable
RUSTFLAGS: "-Dwarnings"
jobs:
autofix:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: actions/cache@v6
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: autofix-${{ hashFiles('**/Cargo.lock') }}
- run: rustup toolchain install ${{ env.rust_clippy }} --profile minimal --component rustfmt --component clippy
- run: rustup default ${{ env.rust_clippy }}
- run: cargo clippy --fix --workspace --all-targets
- run: cargo fmt --all
- name: Verify nothing is left for clippy to complain about
run: cargo clippy --workspace --all-targets
- uses: autofix-ci/action@c5b2d67aa2274e7b5a18224e8171550871fc7e4a