Repository navigation
Run Hawk in CI - #20166
Merged
Merged
Run Hawk in CI#20166
Conversation
charliermarsh
marked this pull request as ready for review
July 7, 2026 00:36
zanieb
reviewed
Jul 7, 2026
| curl --proto '=https' --tlsv1.2 -LsSf \ | ||
| "https://github.com/astral-sh/hawk/releases/download/${HAWK_VERSION}/cargo-hawk-installer.sh" | sh | ||
| - name: "Hawk" | ||
| # `uv-keyring` is vendored from keyring-rs, so preserve its upstream public API. |
Member
There was a problem hiding this comment.
We don't need to do this, it's our crate now
zanieb
approved these changes
Jul 7, 2026
charliermarsh
force-pushed
the
charlie/hawk-ci
branch
from
July 7, 2026 15:14
c16c632 to
91f3027
Compare
This was referenced Sep 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This adds Hawk 0.1.5 to the lint workflow and restores the
hawk.tomlconfiguration from #19565.The configuration is updated for the current workspace, and unused public APIs are removed or restricted so Hawk passes without warnings.
In
hawk.toml,preserve-uniform-field-visibility = truekeeps a struct's fields at a common visibility when at least one field requires that scope; for example, Hawk will not make an otherwise-unused field private when a sibling must remainpub(super).Intentional downstream APIs are preserved as exact expectations, including every API restored for Pixi in #20074 along with its build-environment and installer-name integration hooks. The vendored
uv-keyringcrate is excluded to preserve its upstream public API.As an end-user, you can install it with:
Then
cargo +1.96.1 hawk.