Specify rust version for stable and nightly

In our CI we stick with particular versions for stable and for nightly. For example, stable version is 1.60.0 and nightly is 2022-04-01. The current solution is to use some shell scripts.
I would like to change the situation by using rust-toolchain.toml file but it seems that there I can set only one version (for stable) and not for both.
Do you know a good workaround?

Tokio uses four different versions of Rust in its CI. You can view how it is set up here.

Am I right that this yml file is not rust-related but used by some other system (maybe docker)?

It's a GitHub workflow file for GitHub Actions

1 Like

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.