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