diff --git a/.github/workflows/rust.yml b/.github/workflows/ci.yml similarity index 68% rename from .github/workflows/rust.yml rename to .github/workflows/ci.yml index 6738b0b..513a5ca 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/ci.yml @@ -1,4 +1,4 @@ -name: Rust +name: CI on: push: @@ -17,3 +17,8 @@ jobs: run: cargo build --verbose - name: Run tests run: cargo test --verbose + - name: rustfmt + uses: actions-rs/cargo@v1 + with: + command: fmt + args: --all -- --check