diff --git a/.github/workflows/devRun.yml b/.github/workflows/devRun.yml index 0c155c59e..749fba90d 100644 --- a/.github/workflows/devRun.yml +++ b/.github/workflows/devRun.yml @@ -23,14 +23,7 @@ jobs: virtualenvs-in-project: true installer-parallel: true virtualenvs-path: .venv - - name: Load cached venv - id: cached-poetry-dependencies - uses: actions/cache@v4 - with: - path: .venv - key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }} - name: Install Dependencies - if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true' run: poetry install --no-interaction --no-root - name: Install Playwright Browsers run: npx playwright install --with-deps @@ -38,6 +31,12 @@ jobs: run: | source .venv/bin/activate xvfb-run pytest -m devRun --base-url ${{ vars.BASE_URL }} + - name: Cache dependencies if tests pass + if: success() + uses: actions/cache/save@v4 + with: + path: .venv + key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }} - name: Auto-assign reviewers uses: kentaro-m/auto-assign-action@v2.0.0 if: success() diff --git a/renovate.json b/renovate.json index bd8b5b4ee..4f9ba20c3 100644 --- a/renovate.json +++ b/renovate.json @@ -3,6 +3,19 @@ "extends": [ "config:recommended" ], + "packageRules": [ + { + "groupName": "all pre-commit updates", + "managers": [ + "pre-commit" + ], + "matchUpdateTypes": [ + "major", + "minor", + "patch" + ] + } + ], "pre-commit": { "enabled": true },