mirror of
https://github.com/Zenithsiz/dcb.git
synced 2026-02-06 17:35:40 +00:00
Added nightly to github workflow, as well as a rustfmt step to verify formatting.
This commit is contained in:
parent
2940a737e0
commit
a89ce37da1
8
.github/workflows/rust.yml
vendored
8
.github/workflows/rust.yml
vendored
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user