From a15e6c02df0a93c390c77f3ba24572990d696fef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Odstr=C4=8Dil=C3=ADk?= Date: Thu, 19 Dec 2024 14:27:51 +0100 Subject: [PATCH] feat(ci): add pre-commit to pip deps cache --- .github/workflows/pre-commit.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pre-commit.yaml b/.github/workflows/pre-commit.yaml index 95b76b5..7f55572 100644 --- a/.github/workflows/pre-commit.yaml +++ b/.github/workflows/pre-commit.yaml @@ -42,11 +42,11 @@ jobs: uses: actions/cache@v4 with: path: ~/.cache/pip - key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements*.txt') }} + key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements*.txt', '.pre-commit-config.yaml') }} restore-keys: | ${{ runner.os }}-pip- - - name: Install Python dependencies + - name: Install pip dependencies run: pip install -r requirements.txt - uses: pre-commit/action@v3.0.1