From dfa1e6a7453cc08f4424382f748aaa1f7730d5e5 Mon Sep 17 00:00:00 2001 From: Dimitri Sabadie Date: Mon, 16 Mar 2020 16:44:18 +0100 Subject: [PATCH] Update the CI steps. --- .github/workflows/ci.yaml | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index e080a33..eafdb38 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -13,7 +13,6 @@ jobs: run: | cargo test --verbose --all-features - build-windows: runs-on: windows-latest steps: @@ -40,11 +39,16 @@ jobs: . ~/.cargo/env cargo test --verbose --all-features - check-readme: + quality: runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 - - name: Install cargo-sync-readme - run: cargo install --force cargo-sync-readme - - name: Check - run: cargo sync-readme -c + - name: Install dependencies + run: | + cargo install --force cargo-sync-readme + rustup component add rustfmt + - name: cargo sync-readme + run: | + cargo sync-readme -c + - name: rustfmt + run: cargo fmt -- --check