Skip to content

Commit

Permalink
Use pre-commit action in CI.
Browse files Browse the repository at this point in the history
Uses caching, should be better.
  • Loading branch information
J08nY committed Jun 20, 2024
1 parent c8516a6 commit 3c0392f
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
with:
extra_args: --all-files

0 comments on commit 3c0392f

Please sign in to comment.