Make nightly toolchain used for CI the default
This commit is contained in:
parent
bb20ba0711
commit
511ba3d86e
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
@ -3,6 +3,8 @@ name: CI
|
|||||||
env:
|
env:
|
||||||
CARGO_TERM_COLOR: always
|
CARGO_TERM_COLOR: always
|
||||||
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse
|
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse
|
||||||
|
# Keep in sync with version in `rust-toolchain.toml` and `xtask/src/ci.rs`
|
||||||
|
NIGHTLY: nightly-2023-07-03
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
@ -43,7 +45,7 @@ jobs:
|
|||||||
- name: Install rust nightly toolchain
|
- name: Install rust nightly toolchain
|
||||||
uses: dtolnay/rust-toolchain@master
|
uses: dtolnay/rust-toolchain@master
|
||||||
with:
|
with:
|
||||||
toolchain: nightly-2023-07-03
|
toolchain: ${{ env.NIGHTLY }}
|
||||||
|
|
||||||
- uses: Swatinem/rust-cache@v2
|
- uses: Swatinem/rust-cache@v2
|
||||||
|
|
||||||
@ -186,7 +188,7 @@ jobs:
|
|||||||
- name: Install rust nightly toolchain
|
- name: Install rust nightly toolchain
|
||||||
uses: dtolnay/rust-toolchain@master
|
uses: dtolnay/rust-toolchain@master
|
||||||
with:
|
with:
|
||||||
toolchain: nightly-2023-07-03
|
toolchain: ${{ env.NIGHTLY }}
|
||||||
components: ${{ matrix.components }}
|
components: ${{ matrix.components }}
|
||||||
|
|
||||||
- uses: Swatinem/rust-cache@v2
|
- uses: Swatinem/rust-cache@v2
|
||||||
@ -218,7 +220,7 @@ jobs:
|
|||||||
# Nightly needed for use of unstable options
|
# Nightly needed for use of unstable options
|
||||||
uses: dtolnay/rust-toolchain@master
|
uses: dtolnay/rust-toolchain@master
|
||||||
with:
|
with:
|
||||||
toolchain: nightly-2023-07-03
|
toolchain: ${{ env.NIGHTLY }}
|
||||||
|
|
||||||
- uses: Swatinem/rust-cache@v2
|
- uses: Swatinem/rust-cache@v2
|
||||||
|
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
[toolchain]
|
[toolchain]
|
||||||
channel = "nightly"
|
# Keep in sync with version in `xtask/src/ci.rs` and `.github/workflows/ci.yml`
|
||||||
|
channel = "nightly-2023-07-03"
|
||||||
components = ["rustfmt", "clippy"]
|
components = ["rustfmt", "clippy"]
|
||||||
|
@ -13,6 +13,7 @@ mod spec_links;
|
|||||||
use spec_links::check_spec_links;
|
use spec_links::check_spec_links;
|
||||||
|
|
||||||
const MSRV: &str = "1.65";
|
const MSRV: &str = "1.65";
|
||||||
|
// Keep in sync with version in `rust-toolchain.toml` and `.github/workflows/ci.yml`
|
||||||
const NIGHTLY: &str = "nightly-2023-07-03";
|
const NIGHTLY: &str = "nightly-2023-07-03";
|
||||||
|
|
||||||
#[derive(Args)]
|
#[derive(Args)]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user