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

Fix unused dependency check and remove unused dependencies #395

Merged
merged 4 commits into from
Sep 10, 2021
Merged

Fix unused dependency check and remove unused dependencies #395

merged 4 commits into from
Sep 10, 2021

Conversation

connec
Copy link
Contributor

@connec connec commented Sep 10, 2021

  • ba18457 ci: Pin specific SHA for aig787/cargo-udeps-action

    We should pin by default to ensure CI remains stable. We may want to add
    security advisory checking for GitHub Actions in future, to prompt us to
    update.

  • 4bb18e5 ci: Use test-utils feature when running udeps

    The test-utils feature is required for benchmarks and some examples,
    and their dependencies are not counted if the feature is not enabled.

  • 0e0dcbf chore: Remove unused dependencies

  • c9631d0 ci: Pin specific nightly for cargo udeps job

    This is a slightly speculative fix based on
    https://gh.neting.ccmunity/t/189130 and
    Flag another curl error as possibly spurious rust-lang/cargo#9695. Although it seems this may
    have been fixed/worked around in cargo, the latest version of
    cargo-udeps still depends on cargo 0.54.0 which could be affected.

Chris Connelly added 3 commits September 10, 2021 12:20
We should pin by default to ensure CI remains stable. We may want to add
security advisory checking for GitHub Actions in future, to prompt us to
update.
The `test-utils` feature is required for benchmarks and some examples,
and their dependencies are not counted if the feature is not enabled.
@connec connec changed the title Less udeps less problems Fix unused dependency check and remove unused dependencies Sep 10, 2021
This is a slightly speculative fix based on
https://gh.neting.ccmunity/t/189130 and
rust-lang/cargo#9695. Although it seems this may
have been fixed/worked around in cargo, the latest version of
`cargo-udeps` still depends on cargo 0.54.0 which could be affected.
@connec connec enabled auto-merge (rebase) September 10, 2021 16:13
@connec connec merged commit faa6127 into maidsafe:main Sep 10, 2021
@connec connec deleted the udeps branch September 10, 2021 16:19
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.

2 participants