8000 Use dtonlnay instead of actions-rs by tcharding · Pull Request #1509 · rust-bitcoin/rust-bitcoin · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Use dtonlnay instead of actions-rs #1509

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

Merged
merged 1 commit into from
Dec 30, 2022

Conversation

tcharding
Copy link
Member
@tcharding tcharding commented Dec 28, 2022

Done on top of #1508

Currently we use the actions-rs GitHub action to run our tests. It seems the project is now unmaintained [0].

Well known Rust developer dtonlnay maintains a GitHub action that can be used instead.

Replace all uses of actions-rs/toolchain with dtonlnay/rust-toolchain. Note that with the new action there is no way to configure the toolchain, instead a different uses statement is required - this means we have to split our jobs up by toolchain. This is arguably cleaner anyways.

Note that with this patch applied the "no-std" tests are now not run for MSRV since we explicitly support "no-std" only for the 1.47 and above toolchains - strange that this was working?

[0] actions-rs/toolchain#216

@tcharding tcharding force-pushed the 12-28-githubactions branch 3 times, most recently from 4453a44 to 496a8a8 Compare December 28, 2022 00:57
@tcharding tcharding changed the title WIP: Use dtonlnay instead of actions-rs Use dtonlnay instead of actions-rs Dec 28, 2022
@tcharding tcharding marked this pull request as ready for review December 28, 2022 01:01
@tcharding tcharding marked this pull request as draft December 28, 2022 01:01
@tcharding tcharding force-pushed the 12-28-githubactions branch 4 times, most recently from 639640b to e6be879 Compare December 28, 2022 01:10
@tcharding tcharding marked this pull request as ready for review December 28, 2022 01:10
@tcharding
Copy link
Member Author

Will investigate Address and Embedded fails if others are positive to this PR.

@tcharding tcharding force-pushed the 12-28-githubactions branch 2 times, most recently from 495b148 to 9242c3d Compare December 29, 2022 22:43
Currently we use the `actions-rs` GitHub action to run our tests. It
seems the project is now unmaintained [0].

Well known Rust developer dtonlnay maintains a GitHub action that can be
used instead.

Replace all uses of `actions-rs/toolchain` with
`dtonlnay/rust-toolchain`. Note that with the new action there is no way
to configure the toolchain, instead a different `uses` statement is
required - this means we have to split our jobs up by toolchain. This is
arguably cleaner anyways.

Note that with this patch applied the "no-std" tests are now _not_ run
for MSRV since we explicitly support "no-std" only for the 1.47 and
above toolchains - strange that this was working?

[0] actions-rs/toolchain#216
Copy link
Member
@sanket1729 sanket1729 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK 4201612. Verified that we did not miss any checks in the translation.

Copy link
Member
@elichai elichai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK 4201612

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.

4 participants
0