From f17525569c312096c5c02d41122ac53d1e941189 Mon Sep 17 00:00:00 2001 From: Carl Lerche Date: Wed, 15 Apr 2020 13:14:51 -0700 Subject: [PATCH] tweak CI (#35) --- .github/workflows/{rust.yml => ci.yml} | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) rename .github/workflows/{rust.yml => ci.yml} (68%) 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