From 86a762c92625e18746cab0a5dc5ca55d6f3175f0 Mon Sep 17 00:00:00 2001 From: Stephan Dilly Date: Sun, 5 Apr 2020 15:29:41 +0200 Subject: [PATCH] rustfmt ci step --- .github/workflows/ci.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 989f2d18..f8246045 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,3 +28,12 @@ jobs: uses: actions-rs/audit-check@v1 with: token: ${{ secrets.GITHUB_TOKEN }} + + rustfmt: + name: Rustfmt + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@master + - name: Install Rust + run: rustup update stable && rustup default stable && rustup component add rustfmt + - run: cargo fmt -- --check \ No newline at end of file