mirror of
https://github.com/bevyengine/bevy
synced 2024-11-22 04:33:37 +00:00
Disable nightly rust checks for bors (#3427)
This is a temporary measure while we wait for https://github.com/rust-lang/rust/issues/92163 to be resolved.
This commit is contained in:
parent
79d36e7c28
commit
08b5234582
2 changed files with 33 additions and 29 deletions
6
.github/bors.toml
vendored
6
.github/bors.toml
vendored
|
@ -2,16 +2,16 @@ status = [
|
|||
"build (stable, windows-latest)",
|
||||
"build (stable, ubuntu-latest)",
|
||||
"build (stable, macos-latest)",
|
||||
"build (nightly, ubuntu-latest)",
|
||||
# "build (nightly, ubuntu-latest)",
|
||||
"build-wasm (stable, ubuntu-latest)",
|
||||
"build-wasm (nightly, ubuntu-latest)",
|
||||
# "build-wasm (nightly, ubuntu-latest)",
|
||||
"build-android",
|
||||
"markdownlint",
|
||||
"check-markdown-links",
|
||||
"run-examples",
|
||||
"check-doc",
|
||||
"check-missing-examples-in-docs",
|
||||
"check-unused-dependencies",
|
||||
# "check-unused-dependencies",
|
||||
"ci",
|
||||
"check-benches",
|
||||
]
|
||||
|
|
56
.github/workflows/ci.yml
vendored
56
.github/workflows/ci.yml
vendored
|
@ -14,7 +14,9 @@ jobs:
|
|||
build:
|
||||
strategy:
|
||||
matrix:
|
||||
toolchain: [stable, nightly]
|
||||
# TODO: re-enable nightly checks
|
||||
# toolchain: [stable, nightly]
|
||||
toolchain: [stable]
|
||||
os: [windows-latest, ubuntu-latest, macos-latest]
|
||||
exclude:
|
||||
- os: macos-latest
|
||||
|
@ -96,7 +98,9 @@ jobs:
|
|||
build-wasm:
|
||||
strategy:
|
||||
matrix:
|
||||
toolchain: [stable, nightly]
|
||||
# TODO: re-enable nightly checks
|
||||
# toolchain: [stable, nightly]
|
||||
toolchain: [stable]
|
||||
os: [ubuntu-latest]
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
|
@ -290,27 +294,27 @@ jobs:
|
|||
file-types: '[".rs"]'
|
||||
exclude-folders: '["./examples/ios"]'
|
||||
exclude-files: '[]'
|
||||
|
||||
check-unused-dependencies:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/cache@v2
|
||||
with:
|
||||
path: |
|
||||
~/.cargo/bin/
|
||||
~/.cargo/registry/index/
|
||||
~/.cargo/registry/cache/
|
||||
~/.cargo/git/db/
|
||||
target/
|
||||
key: ${{ runner.os }}-cargo-check-unused-dependencies-${{ hashFiles('**/Cargo.toml') }}
|
||||
- uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: nightly
|
||||
override: true
|
||||
- name: Installs cargo-udeps
|
||||
run: cargo install --force cargo-udeps
|
||||
- name: Install alsa and udev
|
||||
run: sudo apt-get update; sudo apt-get install --no-install-recommends libasound2-dev libudev-dev
|
||||
- name: Run cargo udeps
|
||||
run: cargo udeps
|
||||
# TODO: re-enable nightly checks
|
||||
# check-unused-dependencies:
|
||||
# runs-on: ubuntu-latest
|
||||
# steps:
|
||||
# - uses: actions/checkout@v2
|
||||
# - uses: actions/cache@v2
|
||||
# with:
|
||||
# path: |
|
||||
# ~/.cargo/bin/
|
||||
# ~/.cargo/registry/index/
|
||||
# ~/.cargo/registry/cache/
|
||||
# ~/.cargo/git/db/
|
||||
# target/
|
||||
# key: ${{ runner.os }}-cargo-check-unused-dependencies-${{ hashFiles('**/Cargo.toml') }}
|
||||
# - uses: actions-rs/toolchain@v1
|
||||
# with:
|
||||
# toolchain: nightly
|
||||
# override: true
|
||||
# - name: Installs cargo-udeps
|
||||
# run: cargo install --force cargo-udeps
|
||||
# - name: Install alsa and udev
|
||||
# run: sudo apt-get update; sudo apt-get install --no-install-recommends libasound2-dev libudev-dev
|
||||
# - name: Run cargo udeps
|
||||
# run: cargo udeps
|
||||
|
|
Loading…
Reference in a new issue