From 1da196d5eb87fe4108a52e4c8b6f2b39ee0d61bc Mon Sep 17 00:00:00 2001 From: tijmen Date: Tue, 22 Sep 2026 09:46:54 +0200 Subject: [PATCH] Update actions * actions/checkout to v7 * actions/cache to v6 * actions/setup-node to v7 * actions/upload-artifact to v7 * nick-fields/retry to v4 * softprops/action-gh-release to v3 --- .github/actions/setup/action.yml | 2 +- .github/workflows/check-test.yml | 4 ++-- .github/workflows/integration-tests.yml | 12 ++++++------ .github/workflows/release-soft.yml | 2 +- .github/workflows/release.yml | 4 ++-- 5 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/actions/setup/action.yml b/.github/actions/setup/action.yml index 49759d47..e70cc72e 100644 --- a/.github/actions/setup/action.yml +++ b/.github/actions/setup/action.yml @@ -10,7 +10,7 @@ runs: tools: composer - name: Cache Composer Dependencies - uses: actions/cache@v3 + uses: actions/cache@v6 with: path: vendor key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} diff --git a/.github/workflows/check-test.yml b/.github/workflows/check-test.yml index aa3ec007..73c9ee6b 100644 --- a/.github/workflows/check-test.yml +++ b/.github/workflows/check-test.yml @@ -17,7 +17,7 @@ jobs: php: ['7.4'] steps: - name: Checkout Code - uses: actions/checkout@v3 + uses: actions/checkout@v7 - name: Setup uses: ./.github/actions/setup @@ -36,7 +36,7 @@ jobs: php: ['7.4'] steps: - name: Checkout Code - uses: actions/checkout@v3 + uses: actions/checkout@v7 - name: Setup uses: ./.github/actions/setup diff --git a/.github/workflows/integration-tests.yml b/.github/workflows/integration-tests.yml index 4c8ee720..d462a661 100644 --- a/.github/workflows/integration-tests.yml +++ b/.github/workflows/integration-tests.yml @@ -23,10 +23,10 @@ jobs: - { wp: 71, php: 85 } steps: - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@v7 - name: Setup Node.js - uses: actions/setup-node@v4 + uses: actions/setup-node@v7 with: node-version: 18 cache: 'npm' @@ -45,7 +45,7 @@ jobs: cache-to: type=gha,mode=max - name: Cache node_modules - uses: actions/cache@v4 + uses: actions/cache@v6 with: path: node_modules key: ${{ runner.os }}-node-modules-${{ hashFiles('package-lock.json') }} @@ -60,7 +60,7 @@ jobs: run: echo "PLAYWRIGHT_VERSION=$(node -p "require('./package.json').devDependencies['@playwright/test']")" >> $GITHUB_ENV - name: Cache Playwright - uses: actions/cache@v4 + uses: actions/cache@v6 id: playwright-cache with: path: | @@ -70,7 +70,7 @@ jobs: - run: npx playwright install --with-deps if: steps.playwright-cache.outputs.cache-hit != 'true' - name: Start WordPress - uses: nick-fields/retry@v3 + uses: nick-fields/retry@v4 with: timeout_minutes: 10 max_attempts: 3 @@ -85,7 +85,7 @@ jobs: env: WORDPRESS_PORT: 80${{ matrix.wp }} - - uses: actions/upload-artifact@v4 + - uses: actions/upload-artifact@v7 if: ${{ !cancelled() }} with: name: playwright-report-${{ matrix.wp }}-${{ matrix.php }} diff --git a/.github/workflows/release-soft.yml b/.github/workflows/release-soft.yml index 2ddf3fe8..a1912d31 100644 --- a/.github/workflows/release-soft.yml +++ b/.github/workflows/release-soft.yml @@ -10,7 +10,7 @@ jobs: name: Push to trunk runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - name: Plugin asset/readme update uses: tinify/action-wordpress-plugin-asset-update@stable env: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index bb2daaf7..73f1f85f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@v7 with: fetch-depth: 0 - name: Verify version matches release tag @@ -29,7 +29,7 @@ jobs: SVN_USERNAME: ${{ secrets.SVN_USERNAME }} SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }} - name: Upload release asset - uses: softprops/action-gh-release@v2 + uses: softprops/action-gh-release@v3 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: