Add cargo fmt to github actions

This commit is contained in:
Atul Bhosale 2020-06-24 23:50:49 +05:30
parent 8a147b3ecb
commit 5fb40836eb
No known key found for this signature in database
GPG key ID: 9CE70EE4DDBEB4A7

View file

@ -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