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

Update CI #707

Merged
merged 3 commits into from
Aug 10, 2023
Merged

Update CI #707

merged 3 commits into from
Aug 10, 2023

Conversation

waywardmonkeys
Copy link
Contributor

No description provided.

crates.io doesn't support this and they're outdated anyway.
Use `actions/checkout@v3` to remove a warning about old versions
of node.

Use `dtolay/rust-toolchain` instead of `actions-rs/toolchain` as
it is maintained (and `actions-rs` actions are not). This also
resolves a number of warnings about deprecated functionality
within the GitHub Actions UI.

Update one usage of `Swatimem/rust-cache` to v2. The other
already was updated.

Use `cargo` directly instead of using `actions-rs/cargo` as that
action is also unmaintained.
@waywardmonkeys
Copy link
Contributor Author

There's a chance that with the old action, it wasn't actually testing with the MSRV. I can reproduce this failure for 1.64 for wasm32-wasi locally. It also happens with 1.65 but not 1.66 or alter.

@lemmih
Copy link
Collaborator

lemmih commented Aug 9, 2023

There's a chance that with the old action, it wasn't actually testing with the MSRV. I can reproduce this failure for 1.64 for wasm32-wasi locally. It also happens with 1.65 but not 1.66 or alter.

Let's bump MSRV to 1.66?

@waywardmonkeys
Copy link
Contributor Author

I'll come back to this and dig more. It bothers me. This feature should be in Rust 1.63, so 1.64 shouldn't be an issue. It will be a couple of days though.

@waywardmonkeys
Copy link
Contributor Author

Looks like it is this: rust-lang/rust#103306 which was fixed in 1.66 ... (it is 2:40am here and I should be asleep).

This results in an error when building with 1.64 despite `AsFd`
having been added in 1.63. It was fixed in 1.66:

rust-lang/rust#103306
@waywardmonkeys
Copy link
Contributor Author

@lemmih It seems a shame to update the MSRV so soon and for a fringe / experimental platform. Maybe it is okay to just skip this test except for on stable toolchain for now?

I've added a commit that does that in case you approve.

@lemmih lemmih merged commit bb44f0b into bheisler:master Aug 10, 2023
5 checks passed
@waywardmonkeys waywardmonkeys deleted the update-ci branch August 10, 2023 06:14
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