Closed feliciss closed 1 month ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Help debug GitHub CI. @jolestar @popcnt1 @yourmoonlight
It seems like Rustup does not support it.
profile = "minimal"
channel = "stable-2023-11-16" # https://blog.rust-lang.org/2023/11/16/Rust-1.74.0.html --component rustfmt --component clippy
error: error: invalid value '[toolchain]
profile = "minimal"
channel = "stable-2023-11-16" # https://blog.rust-lang.org/2023/11/16/Rust-1.74.0.html' for '<toolchain>...': invalid toolchain name: '[toolchain]
profile = "minimal"
channel = "stable-2023-11-16" # https://blog.rust-lang.org/2023/11/16/Rust-1.74.0.html'
For more information, try '--help'.
: invalid toolchain name: '[toolchain]
profile = "minimal"
channel = "stable-2023-11-16" # https://blog.rust-lang.org/2023/11/16/Rust-1.74.0.html'
Error: The process '/home/runner/.cargo/bin/rustup' failed with exit code 1
Help debug GitHub CI. @jolestar @popcnt-subodhi @yourmoonlight
Will work on it soon.
@jolestar Let me figure it out, take a break
@feliciss
try to remove inputs in .github/actions/rust-setup/action.yaml in action-rs(https://github.com/marketplace/actions/rust-toolchain)
reason:
CI rely on actions-rs/toolchain to install rust toolchain, and " Input has higher priority, so if you are want to use toolchain file, you need to remove the input from the workflow file."
- default profile to install toolchain
- fix input in rust-setup/action.yaml
- try 1.75.0? (it's a good time to upgrade rust)
I tried to remove action.yaml but there still has issue.
- default profile to install toolchain
- fix input in rust-setup/action.yaml
- try 1.75.0? (it's a good time to upgrade rust)
I tried to remove action.yaml but there still has issue.
- default profile to install toolchain
- fix input in rust-setup/action.yaml
- try 1.75.0? (it's a good time to upgrade rust)
I tried to remove action.yaml but there still has issue.
- check_build_test(which you failed workflow) run on main branch (you could check it in the source code)
- you could create a new PR to just modify .github/actions/rust-setup/action.yaml, and keep 1.74.0 firstly for checking new toolchain config works. Then another PR upgrade the rust version
I made this PR to just upgrading rust version. The rust-toolchain file format remains the same to be resolved.
Summary
Upgrade rust version and fix errors.