Skip to content

Commit

Permalink
chore(ci): fix toolchain version issue
Browse files Browse the repository at this point in the history
  • Loading branch information
lquerel committed Feb 15, 2024
1 parent 6544549 commit f2321dc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,8 @@ jobs:
uses: dtolnay/rust-toolchain@stable
with:
# cargo check-external-types is only available on this specific nightly
toolchain: nightly-2023-10-10
#- uses: Swatinem/rust-cache@v2
toolchain: nightly-2024-02-07
- uses: Swatinem/rust-cache@v2
- name: check-external-types
run: |
cargo install cargo-check-external-types
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 @@ -8,7 +8,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-2023-10-10 check-external-types --all-features --manifest-path "$dir/Cargo.toml" --config "$dir/allowed-external-types.toml" || exit 1
cargo +nightly-2024-02-07 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 f2321dc

Please sign in to comment.