From 5c06a845583d2c066e566700832e9986eeb7f593 Mon Sep 17 00:00:00 2001 From: Mathieu Rochette Date: Fri, 4 Dec 2026 14:56:23 +0000 Subject: [PATCH] Let Renovate update the coverage PHP version and maintain lock files Co-Authored-By: Claude Opus 5.5 --- .github/workflows/test.yml | 10 +++++++--- renovate.json | 8 ++++++-- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f67cbf5..892497a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -62,13 +62,17 @@ jobs: runs-on: ubuntu-latest needs: build + env: + # renovate: datasource=docker depName=php + PHP_VERSION: '8.5' + steps: - uses: actions/checkout@v7 - name: Setup PHP uses: shivammathur/setup-php@v2 with: - php-version: '8.5' + php-version: ${{ env.PHP_VERSION }} coverage: xdebug ini-values: zend.assertions=1, assert.exception=1 @@ -77,9 +81,9 @@ jobs: uses: actions/cache@v6 with: path: vendor - key: ${{ runner.os }}-php-8.5-coverage-${{ hashFiles('composer.json') }} + key: ${{ runner.os }}-php-${{ env.PHP_VERSION }}-coverage-${{ hashFiles('composer.json') }} restore-keys: | - ${{ runner.os }}-php-8.5-coverage- + ${{ runner.os }}-php-${{ env.PHP_VERSION }}-coverage- - name: Install dependencies run: composer install --prefer-dist --no-progress diff --git a/renovate.json b/renovate.json index 5db72dd..5391265 100644 --- a/renovate.json +++ b/renovate.json @@ -1,6 +1,10 @@ { "$schema": "https://docs.renovatebot.com/renovate-schema.json", "extends": [ - "config:recommended" - ] + "config:recommended", + "customManagers:githubActionsVersions" + ], + "lockFileMaintenance": { + "enabled": true + } }