actions-rust-lang / setup-rust-toolchain

Setup a specific Rust toolchain with extra features like problem matchers
MIT License
193 stars 33 forks source link

toolchain file not properly overriden #31

Closed fprasx closed 10 months ago

fprasx commented 10 months ago

Related: #26 #28

It seems like the fix from #30 does not properly override the toolchain specified by rust-toolchain.toml. Using rustup override set $TOOLCHAIN instead of rustup default $TOOLCHAIN seems to do the trick: Screenshot 2024-01-12 at 12 25 08 PM

I can make a PR if this seems like a desirable fix.

robjtede commented 10 months ago

Good catch! Seems reasonable, I'd approve a PR for this suggested fix 👍🏻

fprasx commented 10 months ago

Sounds good: see #33.