Skip to content

Commit 82b3a39

Browse files
committed
Try pinning nightly version
1 parent c4960aa commit 82b3a39

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/workflows/main.yml

+9-9
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
steps:
1616
- uses: actions/checkout@master
1717
- name: Install Rust
18-
run: rustup update nightly && rustup default nightly
18+
run: rustup update nightly-2021-11-27 && rustup default nightly-2021-11-27
1919
- run: ci/style.sh
2020

2121
docs:
@@ -25,7 +25,7 @@ jobs:
2525
steps:
2626
- uses: actions/checkout@master
2727
- name: Install Rust
28-
run: rustup update nightly && rustup default nightly
28+
run: rustup update nightly-2021-11-27 && rustup default nightly-2021-11-27
2929
- run: ci/dox.sh
3030
env:
3131
CI: 1
@@ -45,7 +45,7 @@ jobs:
4545
steps:
4646
- uses: actions/checkout@master
4747
- name: Install Rust
48-
run: rustup update nightly && rustup default nightly
48+
run: rustup update nightly-2021-11-27 && rustup default nightly-2021-11-27
4949
- run: cargo test --manifest-path crates/stdarch-verify/Cargo.toml
5050

5151
env_override:
@@ -55,7 +55,7 @@ jobs:
5555
steps:
5656
- uses: actions/checkout@master
5757
- name: Install Rust
58-
run: rustup update nightly && rustup default nightly
58+
run: rustup update nightly-2021-11-27 && rustup default nightly-2021-11-27
5959
- run: RUST_STD_DETECT_UNSTABLE=avx cargo test --features=std_detect_env_override --manifest-path crates/std_detect/Cargo.toml env_override_no_avx
6060

6161
test:
@@ -174,18 +174,18 @@ jobs:
174174
submodules: recursive
175175
- name: Install Rust (rustup)
176176
run: |
177-
rustup update nightly --no-self-update
178-
rustup default nightly
177+
rustup update nightly-2021-11-27 --no-self-update
178+
rustup default nightly-2021-11-27
179179
if: matrix.os != 'macos-latest'
180180
- name: Install Rust (macos)
181181
run: |
182182
curl https://sh.rustup.rs | sh -s -- -y --default-toolchain nightly
183183
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
184-
rustup update nightly --no-self-update
185-
rustup default nightly
184+
rustup update nightly-2021-11-27 --no-self-update
185+
rustup default nightly-2021-11-27
186186
if: matrix.os == 'macos-latest'
187187
- run: |
188-
rustup default nightly
188+
rustup default nightly-2021-11-27
189189
rustup target add ${{ matrix.target }}
190190
if: "!endsWith(matrix.target, 'emulated')"
191191
- name: Setup (aarch64-apple-darwin)

0 commit comments

Comments
 (0)