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

Replace unmaintained actions-rs/* actions in CI workflows #236

Merged
merged 1 commit into from
May 12, 2023
Merged

Replace unmaintained actions-rs/* actions in CI workflows #236

merged 1 commit into from
May 12, 2023

Conversation

striezel
Copy link
Contributor

Motivation

Basically all of the actions-rs/* actions are unmaintained. See actions-rs/toolchain#216 for more information. Due to their age they generate several warnings in CI runs, for example in https://github.com/recmo/uint/actions/runs/4754627965:

Node.js 12 actions are deprecated. Please update the following actions to use Node.js 16: actions-rs/toolchain@v1, Swatinem/rust-cache@v1, actions-rs/cargo@v1, actions-rs/clippy-check@v1. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/.

Solution

To get rid of some of those warnings the occurrences of actions-rs/toolchain are replaced by dtolnay/rust-toolchain, and the occurrences of actions-rs/cargo are replaced by direct invocations of cargo.

@striezel striezel requested a review from recmo as a code owner April 29, 2023 22:43
@prestwich
Copy link
Collaborator

Can you update this branch to current main?

@codecov
Copy link

codecov bot commented May 12, 2023

Codecov Report

Patch coverage has no change and project coverage change: +0.22 🎉

Comparison is base (5b7de22) 84.55% compared to head (94ac1dd) 84.77%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #236      +/-   ##
==========================================
+ Coverage   84.55%   84.77%   +0.22%     
==========================================
  Files          50       50              
  Lines        5890     5912      +22     
==========================================
+ Hits         4980     5012      +32     
+ Misses        910      900      -10     

see 2 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

Basically all of the `actions-rs/*` actions are unmaintained. See
<actions-rs/toolchain#216> for more
information. Due to their age they generate several warnings in
CI runs.

To get rid of those warnings the occurrences of
`actions-rs/toolchain` are replaced by `dtolnay/rust-toolchain`,
and the occurrences of `actions-rs/cargo` are replaced by direct
invocations of `cargo`.
@striezel
Copy link
Contributor Author

Can you update this branch to current main?

@prestwich Done.

@prestwich prestwich merged commit 29010ec into recmo:main May 12, 2023
@prestwich
Copy link
Collaborator

Thank you!

@striezel striezel deleted the actions-rs-replacements branch May 12, 2023 21:17
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