From adedd19c5270f116d6f831640b1f0a6f6c0ba26d Mon Sep 17 00:00:00 2001 From: Batuhan Taskaya Date: Wed, 3 Feb 2021 18:14:46 +0300 Subject: [PATCH] gha: switch to pre-commit/action for caching (#5389) --- .github/workflows/tests.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 2d18757b5..f096323ea 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -30,8 +30,7 @@ jobs: run: pip install ".[all,tests]" Pygments collective.checkdocs pre-commit - name: Check README run: python setup.py checkdocs - - name: Check formatting - run: pre-commit run --all-files + - uses: pre-commit/action@v2.0.0 tests: runs-on: ${{ matrix.os }} strategy: