aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJ08nY2024-06-20 14:58:07 +0200
committerJ08nY2024-06-20 14:58:15 +0200
commit3c0392f60033a9fd8b33f48891c2b48ec8a791b0 (patch)
treefb8e85950f4dcc858237fdac1f71dfb73d3c8b5d
parentc8516a607a08d848c8adcec7914d065488c52911 (diff)
downloadsec-certs-3c0392f60033a9fd8b33f48891c2b48ec8a791b0.tar.gz
sec-certs-3c0392f60033a9fd8b33f48891c2b48ec8a791b0.tar.zst
sec-certs-3c0392f60033a9fd8b33f48891c2b48ec8a791b0.zip
Use pre-commit action in CI.
Uses caching, should be better.
-rw-r--r--.github/workflows/pre-commit.yml14
1 files changed, 3 insertions, 11 deletions
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