Update ci.yml
This commit is contained in:
parent
6f8e3fe033
commit
90290be871
|
@ -91,14 +91,21 @@ jobs:
|
|||
uses: actions/checkout@v2
|
||||
with:
|
||||
submodules: true
|
||||
|
||||
- uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: nightly
|
||||
override: true
|
||||
components: clippy, rustfmt
|
||||
- name: Check examples format
|
||||
run: cargo +nightly fmt --all -- --check
|
||||
working-directory: ./examples
|
||||
|
||||
- uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: ${{ matrix.rust }}
|
||||
override: true
|
||||
components: clippy, rustfmt
|
||||
- name: Check examples format
|
||||
run: cargo fmt --all -- --check
|
||||
working-directory: ./examples
|
||||
- name: Check examples with clippy
|
||||
run: cargo clippy --all
|
||||
working-directory: ./examples
|
||||
|
@ -108,24 +115,3 @@ jobs:
|
|||
- name: Clean examples
|
||||
run: cargo clean
|
||||
working-directory: ./examples
|
||||
# build-nightly:
|
||||
# name: Build nightly - Rust (${{ matrix.rust }}) on ${{ matrix.os }}
|
||||
# runs-on: ${{ matrix.os }}
|
||||
# strategy:
|
||||
# fail-fast: false
|
||||
# matrix:
|
||||
# include:
|
||||
# - { rust: nightly-2020-09-21, os: ubuntu-latest }
|
||||
# steps:
|
||||
# - name: Checkout
|
||||
# uses: actions/checkout@v2
|
||||
# with:
|
||||
# submodules: true
|
||||
# - uses: actions-rs/toolchain@v1
|
||||
# with:
|
||||
# toolchain: ${{ matrix.rust }}
|
||||
# override: true
|
||||
# - name: Build on nightly with all features
|
||||
# run: cargo build --all-features
|
||||
# - name: Build on nightly
|
||||
# run: cargo build --all --verbose
|
||||
|
|
Loading…
Reference in New Issue