From 343c6cdc47c4fe38e64633d982aa413be356fb90 Mon Sep 17 00:00:00 2001 From: Josh McKinney Date: Sat, 2 Sep 2023 16:30:00 -0700 Subject: [PATCH] ci(lint): move formatting and doc checks first (#465) Putting the formatting and doc checks first to ensure that more critical errors are caught first (e.g. a conventional commit error or typo should not prevent the formatting and doc checks from running). --- .github/workflows/ci.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5c5fc204..f6d75159 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -36,15 +36,6 @@ jobs: uses: actions/checkout@v3 with: ref: ${{ github.event.pull_request.head.sha }} - - name: Check conventional commits - uses: crate-ci/committed@master - with: - args: "-vv" - commits: HEAD - - name: Check typos - uses: crate-ci/typos@master - - name: Lint dependencies - uses: EmbarkStudios/cargo-deny-action@v1 - name: Install Rust nightly uses: dtolnay/rust-toolchain@nightly with: @@ -55,6 +46,15 @@ jobs: run: cargo make fmt - name: Check documentation run: cargo make check-doc + - name: Check conventional commits + uses: crate-ci/committed@master + with: + args: "-vv" + commits: HEAD + - name: Check typos + uses: crate-ci/typos@master + - name: Lint dependencies + uses: EmbarkStudios/cargo-deny-action@v1 clippy: runs-on: ubuntu-latest