Check cargo fmt on CI

This commit is contained in:
Rutger Schoorstra 2021-10-19 19:27:01 +02:00
parent 6ee1b52c01
commit 1287975af4
2 changed files with 10 additions and 0 deletions

View file

@ -16,7 +16,12 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Build
run: cargo build --verbose
- name: Run fmt
run: cargo fmt --all -- --check
- name: Run tests
run: cargo test --verbose

View file

@ -16,7 +16,12 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Build
run: cargo build --verbose
- name: Run fmt
run: cargo fmt --all -- --check
- name: Run tests
run: cargo test --verbose