Skip to content

Commit

Permalink
Merge branch 'main' into wip-bump-deps
Browse files Browse the repository at this point in the history
  • Loading branch information
jsuereth authored Nov 5, 2024
2 parents 438d18e + 6f36758 commit 1fb51f9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ jobs:
uses: dtolnay/rust-toolchain@stable
with:
# cargo check-external-types is only available on this specific nightly
toolchain: nightly-2024-05-01
toolchain: nightly-2024-06-30
- uses: Swatinem/rust-cache@v2
- name: check-external-types
run: |
Expand Down
2 changes: 1 addition & 1 deletion justfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ install:
cargo install cargo-machete
cargo install cargo-depgraph
cargo install cargo-edit
rustup install nightly-2024-05-01 # used by cargo-check-external-types
rustup install nightly-2024-06-30 # used by cargo-check-external-types
cargo install cargo-check-external-types
cargo install git-cliff
cargo install cargo-tarpaulin
Expand Down
2 changes: 1 addition & 1 deletion scripts/check_external_types.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ for dir in crates/*/; do

# Check if the public API is compliant with the allowed-external-types.toml
echo "Checking the public API of $dir"
cargo +nightly-2024-05-01 check-external-types --all-features --manifest-path "$dir/Cargo.toml" --config "$dir/allowed-external-types.toml" || exit 1
cargo +nightly-2024-06-30 check-external-types --all-features --manifest-path "$dir/Cargo.toml" --config "$dir/allowed-external-types.toml" || exit 1
done

echo "The Cargo workspace is compliant with the 'allowed external types' policies."

0 comments on commit 1fb51f9

Please sign in to comment.