-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Always go through
rustup
when making toolchain-specific invocations (…
…#155) `cargo +nightly [...]` works if `cargo` points to the [`rustup` proxy](https://rust-lang.github.io/rustup/concepts/proxies.html). For some users, this is not happening (even though they installed Rust via `rustup`!) and Pavex errors out because the command fails. To work around the issue, we always go via `rustup run <toolchain> <command>`, which should always work as expected provided that `rustup` is installed. Misc fix: ensure that the `tests` job runs with `stable` as the default toolchain rather than `nightly`.
- Loading branch information
1 parent
f92ce23
commit 99eae0a
Showing
4 changed files
with
57 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -60,16 +60,16 @@ jobs: | |
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
- name: Install Rust stable toolchain | ||
uses: actions-rust-lang/[email protected] | ||
with: | ||
rustflags: "" | ||
- name: Install Rust nightly toolchain | ||
uses: actions-rust-lang/setup-rust-toolchain@v1 | ||
with: | ||
toolchain: nightly | ||
components: rust-docs-json | ||
rustflags: "" | ||
- name: Install Rust stable toolchain | ||
uses: actions-rust-lang/[email protected] | ||
with: | ||
rustflags: "" | ||
- name: Cache dependencies | ||
uses: Swatinem/rust-cache@v2 | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters