Closed
Bug 1944279
Opened 21 days ago
Closed 21 days ago
Use nightly rust toolchain in GitHub action
Categories
(Webtools :: Searchfox, task)
Webtools
Searchfox
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: arai, Assigned: nicolas.guichard)
Details
Attachments
(1 file)
It looks like the GitHub action's environment has ~/.cargo
by default (or at least before common-provision-pre.sh
checks it),
and apparently it's not the latest nightly.
https://github.com/arai-a/mozsearch/actions/runs/13009914725/job/36285122759
As explained in bug 1943521, the SCIP symbol syntax is changed in the latest rust-analyzer nightly and the test snapshot is updated to follow it.
In order to make the test pass, the GitHub action's env should also use the latest rust-analyzer nightly.
Assignee | ||
Comment 1•21 days ago
|
||
The provisioning scripts already try to install Rust nightly, but this is skipped over because the GitHub Actions runner already has $HOME/.cargo
.
I think we can just extract this block from the if:
rustup install nightly
rustup default nightly
rustup uninstall stable
rustup component add rust-analyzer
I'll send a PR to test this.
Assignee | ||
Comment 2•21 days ago
|
||
Assignee: nobody → nicolas.guichard
Assignee | ||
Updated•21 days ago
|
Status: NEW → RESOLVED
Closed: 21 days ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•