Skip to content

Commit 08b5234

Browse files
committed
Disable nightly rust checks for bors (#3427)
This is a temporary measure while we wait for rust-lang/rust#92163 to be resolved.
1 parent 79d36e7 commit 08b5234

File tree

2 files changed

+33
-29
lines changed

2 files changed

+33
-29
lines changed

.github/bors.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@ status = [
22
"build (stable, windows-latest)",
33
"build (stable, ubuntu-latest)",
44
"build (stable, macos-latest)",
5-
"build (nightly, ubuntu-latest)",
5+
# "build (nightly, ubuntu-latest)",
66
"build-wasm (stable, ubuntu-latest)",
7-
"build-wasm (nightly, ubuntu-latest)",
7+
# "build-wasm (nightly, ubuntu-latest)",
88
"build-android",
99
"markdownlint",
1010
"check-markdown-links",
1111
"run-examples",
1212
"check-doc",
1313
"check-missing-examples-in-docs",
14-
"check-unused-dependencies",
14+
# "check-unused-dependencies",
1515
"ci",
1616
"check-benches",
1717
]

.github/workflows/ci.yml

Lines changed: 30 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ jobs:
1414
build:
1515
strategy:
1616
matrix:
17-
toolchain: [stable, nightly]
17+
# TODO: re-enable nightly checks
18+
# toolchain: [stable, nightly]
19+
toolchain: [stable]
1820
os: [windows-latest, ubuntu-latest, macos-latest]
1921
exclude:
2022
- os: macos-latest
@@ -96,7 +98,9 @@ jobs:
9698
build-wasm:
9799
strategy:
98100
matrix:
99-
toolchain: [stable, nightly]
101+
# TODO: re-enable nightly checks
102+
# toolchain: [stable, nightly]
103+
toolchain: [stable]
100104
os: [ubuntu-latest]
101105
runs-on: ${{ matrix.os }}
102106
steps:
@@ -290,27 +294,27 @@ jobs:
290294
file-types: '[".rs"]'
291295
exclude-folders: '["./examples/ios"]'
292296
exclude-files: '[]'
293-
294-
check-unused-dependencies:
295-
runs-on: ubuntu-latest
296-
steps:
297-
- uses: actions/checkout@v2
298-
- uses: actions/cache@v2
299-
with:
300-
path: |
301-
~/.cargo/bin/
302-
~/.cargo/registry/index/
303-
~/.cargo/registry/cache/
304-
~/.cargo/git/db/
305-
target/
306-
key: ${{ runner.os }}-cargo-check-unused-dependencies-${{ hashFiles('**/Cargo.toml') }}
307-
- uses: actions-rs/toolchain@v1
308-
with:
309-
toolchain: nightly
310-
override: true
311-
- name: Installs cargo-udeps
312-
run: cargo install --force cargo-udeps
313-
- name: Install alsa and udev
314-
run: sudo apt-get update; sudo apt-get install --no-install-recommends libasound2-dev libudev-dev
315-
- name: Run cargo udeps
316-
run: cargo udeps
297+
# TODO: re-enable nightly checks
298+
# check-unused-dependencies:
299+
# runs-on: ubuntu-latest
300+
# steps:
301+
# - uses: actions/checkout@v2
302+
# - uses: actions/cache@v2
303+
# with:
304+
# path: |
305+
# ~/.cargo/bin/
306+
# ~/.cargo/registry/index/
307+
# ~/.cargo/registry/cache/
308+
# ~/.cargo/git/db/
309+
# target/
310+
# key: ${{ runner.os }}-cargo-check-unused-dependencies-${{ hashFiles('**/Cargo.toml') }}
311+
# - uses: actions-rs/toolchain@v1
312+
# with:
313+
# toolchain: nightly
314+
# override: true
315+
# - name: Installs cargo-udeps
316+
# run: cargo install --force cargo-udeps
317+
# - name: Install alsa and udev
318+
# run: sudo apt-get update; sudo apt-get install --no-install-recommends libasound2-dev libudev-dev
319+
# - name: Run cargo udeps
320+
# run: cargo udeps

0 commit comments

Comments
 (0)