Update CI

This commit is contained in:
Sunli 2020-10-05 07:05:32 +08:00
parent 0d17dc7629
commit 5f2b7580f4
1 changed files with 11 additions and 0 deletions

View File

@ -28,3 +28,14 @@ jobs:
run: cargo build --all --verbose
- name: Run tests
run: cargo test --all --verbose
# build on nightly
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
components: clippy, rustfmt
- name: Build on nightly without features
run: cargo build --no-default-features
- name: Build on nightly
run: cargo build --all --verbose