diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index 9332545f..3e93bc7d 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -10,14 +10,6 @@ jobs: - uses: actions/setup-python@v5 with: python-version: "3.10" - cache: "pip" - cache-dependency-path: | - requirements/dev_requirements.txt - - name: apt-get update - run: sudo apt-get update - - name: Install dependencies - run: | - sudo apt-get install build-essential libpoppler-cpp-dev pkg-config python3-dev -y - pip install -r requirements/dev_requirements.txt - - name: Run pre-commit - run: pre-commit run --all-files + - uses: pre-commit/action@v3.0.1 + with: + extra_args: --all-files