Added nightly to github workflow, as well as a rustfmt step to verify formatting.

This commit is contained in:
Filipe Rodrigues 2020-05-13 04:23:20 +01:00
parent 2940a737e0
commit a89ce37da1

View File

@ -12,7 +12,15 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Install minimal nightly with clippy and rustfmt
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
components: rustfmt, clippy
- name: Clippy
run: cargo clippy --verbose
- name: Run tests
run: cargo test --verbose
- name: Rust Fmt
run: cargo fmt --verbose -- --check