diff --git a/.github/actions/install-php/action.yml b/.github/actions/install-php/action.yml index 5c800c9bd8..26267332d5 100644 --- a/.github/actions/install-php/action.yml +++ b/.github/actions/install-php/action.yml @@ -25,7 +25,7 @@ runs: id: composer-cache run: | echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: ${{ steps.composer-cache.outputs.dir }} key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} diff --git a/.github/workflows/build-docs.yml b/.github/workflows/build-docs.yml index db6887a996..ec4d38f5ff 100644 --- a/.github/workflows/build-docs.yml +++ b/.github/workflows/build-docs.yml @@ -7,7 +7,7 @@ jobs: hookdocs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: npm install, and build docs run: | npm ci diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0227ca4c4e..676310ef6d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -9,12 +9,12 @@ jobs: name: Plugin Build runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Get npm cache directory id: npm-cache run: | echo "dir=$(npm config get cache)" >> $GITHUB_OUTPUT - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: ${{ steps.npm-cache.outputs.dir }} key: ${{ runner.os }}-node-${{ hashFiles('package-lock.json') }} diff --git a/.github/workflows/changelogger.yml b/.github/workflows/changelogger.yml index cee4232bdc..553566e1d6 100644 --- a/.github/workflows/changelogger.yml +++ b/.github/workflows/changelogger.yml @@ -17,7 +17,7 @@ jobs: name: Changelogger used runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: ./.github/actions/deepen-to-merge-base - uses: ./.github/actions/install-php - name: Check change files are touched for touched projects diff --git a/.github/workflows/dependencies-report.yml b/.github/workflows/dependencies-report.yml index 15720eae54..dfe5e8704b 100644 --- a/.github/workflows/dependencies-report.yml +++ b/.github/workflows/dependencies-report.yml @@ -8,7 +8,7 @@ jobs: runs-on: ubuntu-latest name: Build trunk for Dependencies Report steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: trunk - shell: bash @@ -16,7 +16,7 @@ jobs: id: trunk-commit run: | echo "commit=$(git rev-parse HEAD)" >> $GITHUB_OUTPUT - - uses: actions/cache@v3 + - uses: actions/cache@v4 id: dist-cache with: path: ${{ github.workspace }}/assets/dist @@ -27,7 +27,7 @@ jobs: if: steps.dist-cache.outputs.cache-hit != 'true' run: | echo "dir=$(npm config get cache)" >> $GITHUB_OUTPUT - - uses: actions/cache@v3 + - uses: actions/cache@v4 if: steps.dist-cache.outputs.cache-hit != 'true' with: path: ${{ steps.npm-cache.outputs.dir }} @@ -53,12 +53,12 @@ jobs: name: WordPress Dependencies Report runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Get npm cache directory id: npm-cache run: | echo "dir=$(npm config get cache)" >> $GITHUB_OUTPUT - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: ${{ steps.npm-cache.outputs.dir }} key: ${{ runner.os }}-node-${{ hashFiles('package-lock.json') }} diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 2e571bd5c5..2aca6daac9 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -19,13 +19,13 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: ~/.npm/ key: ${{ runner.os }}-npm-${{ hashFiles('package-lock.json') }} - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: node_modules/ key: ${{ runner.os }}-node-modules-${{ hashFiles('package-lock.json') }} diff --git a/.github/workflows/gardening.yml b/.github/workflows/gardening.yml index 5fe4f3dfdb..92978795bd 100644 --- a/.github/workflows/gardening.yml +++ b/.github/workflows/gardening.yml @@ -14,12 +14,12 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Node uses: actions/setup-node@v3 with: - node-version: 16 + node-version: 22 - name: Wait for prior instances of the workflow to finish uses: softprops/turnstyle@v1 diff --git a/.github/workflows/js.yml b/.github/workflows/js.yml index 41ec78db03..829448a1c4 100644 --- a/.github/workflows/js.yml +++ b/.github/workflows/js.yml @@ -9,12 +9,12 @@ jobs: name: JS Linting runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/cache@v3 + - uses: actions/checkout@v4 + - uses: actions/cache@v4 with: path: ~/.npm/ key: ${{ runner.os }}-npm-${{ hashFiles('package-lock.json') }} - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: node_modules/ key: ${{ runner.os }}-node-modules-${{ hashFiles('package-lock.json') }} @@ -29,12 +29,12 @@ jobs: name: TypeScript Checking runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/cache@v3 + - uses: actions/checkout@v4 + - uses: actions/cache@v4 with: path: ~/.npm/ key: ${{ runner.os }}-npm-${{ hashFiles('package-lock.json') }} - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: node_modules/ key: ${{ runner.os }}-node-modules-${{ hashFiles('package-lock.json') }} @@ -48,8 +48,8 @@ jobs: runs-on: ubuntu-latest steps: # clone the repository - - uses: actions/checkout@v3 - - uses: actions/cache@v3 + - uses: actions/checkout@v4 + - uses: actions/cache@v4 with: path: ~/.npm key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index cf8768247d..4ac795faab 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -10,16 +10,16 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Get cached composer directories - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.cache/composer/ key: ${{ runner.os }}-composer-${{ hashFiles('composer.lock') }} - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: vendor/ key: ${{ runner.os }}-vendor-${{ hashFiles('composer.lock') }} @@ -84,14 +84,14 @@ jobs: options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=5 steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Get cached composer directories - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.cache/composer/ key: ${{ runner.os }}-composer-${{ hashFiles('composer.lock') }} - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: vendor/ key: ${{ runner.os }}-vendor-${{ hashFiles('composer.lock') }} diff --git a/.github/workflows/psalm.yml b/.github/workflows/psalm.yml index 27f31f34ae..20d12b9079 100644 --- a/.github/workflows/psalm.yml +++ b/.github/workflows/psalm.yml @@ -19,16 +19,16 @@ jobs: php: ['7.4', '8.2'] steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Get cached composer directories - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.cache/composer/ key: ${{ runner.os }}-composer-${{ hashFiles('composer.lock') }} - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: vendor/ key: ${{ runner.os }}-vendor-${{ hashFiles('composer.lock') }} diff --git a/.github/workflows/release-checklist.yml b/.github/workflows/release-checklist.yml index 300f954deb..a78fc01105 100644 --- a/.github/workflows/release-checklist.yml +++ b/.github/workflows/release-checklist.yml @@ -14,7 +14,7 @@ jobs: name: Sensei release checklist steps: - name: Checkout - uses: actions/checkout@v1 + uses: actions/checkout@v4 - name: Checklist uses: automattic/contextual-qa-checklist-action@master with: diff --git a/.github/workflows/report-build.yml b/.github/workflows/report-build.yml index 2cc69600c2..b0f64b2240 100644 --- a/.github/workflows/report-build.yml +++ b/.github/workflows/report-build.yml @@ -11,7 +11,7 @@ jobs: name: Report Plugin Build runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Publish commit status with the link to download the plugin id: plugin_artifact uses: Automattic/github-action-report-artifact@v0