Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(CI): check external types #3152

Merged
merged 1 commit into from
Sep 19, 2023

Conversation

palango
Copy link
Contributor

@palango palango commented Feb 28, 2023

This adds CI job that runs cargo-check-external-types against a whitelist of exported types.

Whitelist in #2925 (comment) didn't change.

For now the nightly for this needs to be pinned to nightly-2022-11-16, because cargo-check-external-types doesn't work with the latest nightly json doc format.

Resolves #2925
Superseeds #2957

@palango palango force-pushed the check-external-types branch 3 times, most recently from b896d8d to 5ef1664 Compare March 1, 2023 09:51
@palango

This comment was marked as outdated.

@palango palango force-pushed the check-external-types branch from 5ef1664 to e058d23 Compare March 1, 2023 15:32
@palango palango force-pushed the check-external-types branch from e058d23 to 385bbd8 Compare June 20, 2023 14:27
Copy link
Member

@seanmonstar seanmonstar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for putting this together! Sorry for the delay, I think we're ready to start having CI check this on master.

.github/workflows/external-types.toml Outdated Show resolved Hide resolved
This adds CI job that runs `cargo-check-external-types` against a
whitelist of exported types.
@palango palango force-pushed the check-external-types branch from 20a097a to 511e0b3 Compare September 18, 2023 21:39
@palango palango requested a review from seanmonstar September 18, 2023 21:40
@seanmonstar seanmonstar merged commit 4281b44 into hyperium:master Sep 19, 2023
18 checks passed
@palango palango deleted the check-external-types branch September 19, 2023 12:50
0xE282B0 pushed a commit to 0xE282B0/hyper that referenced this pull request Jan 12, 2024
This adds CI job that runs `cargo-check-external-types` against a
whitelist of exported types.

Closes hyperium#2925
0xE282B0 pushed a commit to 0xE282B0/hyper that referenced this pull request Jan 16, 2024
This adds CI job that runs `cargo-check-external-types` against a
whitelist of exported types.

Closes hyperium#2925

Signed-off-by: Sven Pfennig <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Set up CI to audit for public dependency types
2 participants