chore: replace mix_audit with mix hex.audit - #281
Merged
Merged
Conversation
mix_audit keeps its advisory database as a git checkout that drifts out of sync and fails spuriously. `mix hex.audit` now reports CVEs straight from hex.pm, so it replaces mix_audit in `.check.exs` and the dep goes. The shared workflow pin moves past the commit that dropped its `mix deps.audit` step, which would otherwise fail with the task gone.
`mix hex.audit` flags the locked versions, so bump them to keep the audit green.
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.
Swaps
mix_auditformix hex.audit, as part of the same change across every beam-bots Elixir repo.mix_audit keeps its advisory database as a git checkout, which drifts out of sync and fails spuriously.
mix hex.auditnow reports CVEs straight from hex.pm, so:mix_auditcomes out ofmix.exs, and its now-unused lock entries go with it.check.exsrunsmix hex.auditand explicitly disables ex_check's built-inmix_audittoolbeam-bots/.github@1e4f127, which dropped itsmix deps.auditstep. The old step would fail with the task goneWhere
mix hex.auditflagged locked versions, a second commit bumps them:mint1.11.0 (withhpax1.1.0), pluslazy_html0.1.13 in the repos that use it.