Add cargo fmt to github actions
This commit is contained in:
parent
8a147b3ecb
commit
73a68a8cd3
2
.github/workflows/rust.yml
vendored
2
.github/workflows/rust.yml
vendored
|
@ -13,6 +13,8 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
- name: Run fmt
|
||||||
|
run: cargo fmt --all -- --check
|
||||||
- name: Build
|
- name: Build
|
||||||
run: cargo build --verbose
|
run: cargo build --verbose
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
|
|
Loading…
Reference in a new issue