Skip to content

Commit

Permalink
ci: allow duplicated cfg-if crate (#135)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kijewski authored Aug 27, 2024
1 parent bf83753 commit f1d7f73
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .clippy.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
allowed-duplicate-crates = ["cfg-if"]
avoid-breaking-exported-api = true
msrv = "1.48.0"
6 changes: 3 additions & 3 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit f1d7f73

Please sign in to comment.