diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 4170ed3..fa0ab0a 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -30,8 +30,13 @@ jobs: - name: Test run: pytest --cov=. --cov-branch --cov-report term-missing:skip-covered working-directory: ./src/ + - name: Setup pre-commit cache + uses: actions/cache@v3 + with: + path: ~/.cache/pre-commit + key: pre-commit-3|${{ env.pythonLocation }}|${{ hashFiles('.pre-commit-config.yaml') }} - name: Check pre-commit - run: pre-commit run --all-files + run: pre-commit run --show-diff-on-failure --color=always --all-files auto_merge: name: Auto merge runs-on: ubuntu-latest