-
Notifications
You must be signed in to change notification settings - Fork 20
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
chore(ci): remove deprecated actions-rs actions #181
chore(ci): remove deprecated actions-rs actions #181
Conversation
toolchain: 1.80.0 | ||
override: true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
override true is default.
profile is not present as an option.
uses: actions-rs/cargo@v1 | ||
with: | ||
command: build | ||
args: --all --all-targets |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
--all
is deprecated in favor of --workspace
uses: actions-rs/cargo@v1 | ||
with: | ||
command: fmt | ||
args: --all -- --check |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the --
is not required anymore
I got an error from CI. but I can't with rust 1.82.0 so I think the previous action wasn't working properly. |
Another failure not detected (unused functions). I don't want to know what the old action was doing 🙈 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! :)
Here's why I chose
actions-rust-lang/setup-rust-toolchain
:Swatinem/rust-cache@v2
.rust-toolchain
file in case we add it in the futuretoolchain
field, which decouples the version of the action from the rust toolchain version. I.e. I thinkaction/action@stable
isn't great, because you can't pin the action commit.