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

Eliza/moar ci #315

Merged
merged 2 commits into from
Apr 10, 2024
Merged

Eliza/moar ci #315

merged 2 commits into from
Apr 10, 2024

Conversation

hawkw
Copy link
Contributor

@hawkw hawkw commented Apr 10, 2024

No description provided.

hawkw added 2 commits April 10, 2024 09:01
Currently, the `rustup show` commands run on CI don't actually show the
real toolchain that will be used, because they run *before* we actually
check out the repo. Because we haven't checked out the repo, the
`rust-toolchain.toml` file...isn't there, so we don't have a configured
toolchain.

This commit fixes that. We now run `rustup show` *after* checking out
the repo, so the `rustup show` command shows the toolchain that CI will
actually use.
This is already specified in the toolchain file, so it needn't be
manually installed on CI.
@hawkw hawkw enabled auto-merge (rebase) April 10, 2024 16:01
@hawkw
Copy link
Contributor Author

hawkw commented Apr 10, 2024

okay, so now CI both shows and downloads the actual correct Rust toolchains: https://github.com/tosc-rs/mnemos/actions/runs/8634305118/job/23669422262?pr=315#step:4:39

@hawkw hawkw merged commit a12e31f into main Apr 10, 2024
10 checks passed
@hawkw hawkw deleted the eliza/moar-ci branch April 10, 2024 16:08
hawkw added a commit that referenced this pull request Apr 10, 2024
Currently, the `rustup show` commands run on CI don't actually show the
real toolchain that will be used, because they run *before* we actually
check out the repo. Because we haven't checked out the repo, the
`rust-toolchain.toml` file...isn't there, so we don't have a configured
toolchain.

This commit fixes that. We now run `rustup show` *after* checking out
the repo, so the `rustup show` command shows the toolchain that CI will
actually use.
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.

1 participant