From db172db2aae692fb5ff590478cbbcce8e0b86227 Mon Sep 17 00:00:00 2001 From: michaelvlach Date: Wed, 8 Feb 2023 22:00:23 +0100 Subject: [PATCH] Update pr.yaml --- .github/workflows/pr.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml index a9babd70..d0f16590 100644 --- a/.github/workflows/pr.yaml +++ b/.github/workflows/pr.yaml @@ -46,6 +46,14 @@ jobs: - run: rustup component add llvm-tools-preview - run: cargo llvm-cov --workspace --fail-uncovered-functions 0 --fail-uncovered-lines 16 + format: + runs-on: ubuntu-latest + needs: diff + if: needs.diff.outputs.diff == 'true' + steps: + - uses: actions/checkout@v3 + - run: cargo fmt --check + test: runs-on: ubuntu-latest needs: diff