check formatting first
@@ -16,9 +16,9 @@ jobs:
steps:
- uses: actions/checkout@v2
+ - name: Verify code formatting
+ run: cargo fmt -- --check
- name: Build
run: cargo build --verbose --all-features
- name: Run tests
run: cargo test --verbose --all-features
- - name: Verify code formatting
- run: cargo fmt -- --check
