diff --git a/.clippy.toml b/.clippy.toml new file mode 100644 index 0000000..19b0123 --- /dev/null +++ b/.clippy.toml @@ -0,0 +1,3 @@ +allowed-duplicate-crates = ["cfg-if"] +avoid-breaking-exported-api = true +msrv = "1.48.0" diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index aa6315c..d23ef6c 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -235,8 +235,8 @@ jobs: run: cargo generate-lockfile ${{ matrix.versions }} env: RUSTC_BOOTSTRAP: 1 - - run: cargo check --all-targets - - run: cargo clippy --all-targets + - run: cargo check --all-targets --workspace + - run: cargo clippy --all-targets --workspace -- -D warnings no-docker-image-check-only: runs-on: ubuntu-latest @@ -355,7 +355,7 @@ jobs: RUSTC_BOOTSTRAP: 1 - run: cargo check --all-targets working-directory: haiku - - run: cargo clippy --all-targets + - run: cargo clippy --all-targets -- -D warnings working-directory: haiku check-all-versions: