diff --git a/.github/workflows/cs.yml b/.github/workflows/cs.yml index 0bac013..32e64a4 100644 --- a/.github/workflows/cs.yml +++ b/.github/workflows/cs.yml @@ -61,7 +61,7 @@ jobs: run: git fetch --no-tags --depth=1 origin ${{ steps.base_branch.outputs.NAME }} - name: Install PHP - uses: shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240 # 2.37.2 + uses: shivammathur/setup-php@eb7c497e18156a6bbabfef1d3a82760b9eda3962 # 2.40.0 with: php-version: 'latest' coverage: none diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 0ce0376..291f8b8 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -55,7 +55,7 @@ jobs: persist-credentials: false - name: Install PHP - uses: shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240 # 2.37.2 + uses: shivammathur/setup-php@eb7c497e18156a6bbabfef1d3a82760b9eda3962 # 2.40.0 with: php-version: 7.4 coverage: none @@ -64,7 +64,7 @@ jobs: # https://github.com/actions/setup-node - name: Set up node and disable caching of dependencies - uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 + uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0 with: node-version-file: './.nvmrc' # Explicitly NOT using the cache functionality to prevent cache poisoning for deployments. @@ -108,7 +108,7 @@ jobs: # Retention is normally 90 days, but this artifact is only for review # and use in the next step, so no need to keep it for more than a day. - name: Upload the artifact folder - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 + uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 if: ${{ success() }} with: name: deploy-artifact @@ -170,7 +170,7 @@ jobs: # The artifact will be unpacked into the root directory of the repository. - name: Download and unpack the prepared artifact - uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1 + uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2 with: name: deploy-artifact diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 6ad67f9..c4a23ea 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -44,7 +44,7 @@ jobs: persist-credentials: false - name: Install PHP - uses: shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240 # 2.37.2 + uses: shivammathur/setup-php@eb7c497e18156a6bbabfef1d3a82760b9eda3962 # 2.40.0 with: php-version: ${{ matrix.php_version }} ini-values: zend.assertions=1, assert.exception=1, error_reporting=-1, display_errors=On, display_startup_errors=On diff --git a/.github/workflows/release-rc.yml b/.github/workflows/release-rc.yml index 491213f..a552c1d 100644 --- a/.github/workflows/release-rc.yml +++ b/.github/workflows/release-rc.yml @@ -147,7 +147,7 @@ jobs: fi - name: Install PHP - uses: shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240 # 2.37.2 + uses: shivammathur/setup-php@eb7c497e18156a6bbabfef1d3a82760b9eda3962 # 2.40.0 with: php-version: 7.4 coverage: none @@ -155,7 +155,7 @@ jobs: fail-fast: true - name: Set up Node - uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 + uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0 with: node-version-file: './.nvmrc' cache: '' @@ -259,7 +259,7 @@ jobs: cp -a artifact/. yoast-test-helper/ - name: Upload plugin folder as workflow artifact - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 + uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 with: name: yoast-test-helper-${{ env.RC_VERSION }}${{ inputs.dry-run && '-dryrun' || '' }} path: yoast-test-helper diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6c60a7c..3e4896a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -137,7 +137,7 @@ jobs: fi - name: Install PHP - uses: shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240 # 2.37.2 + uses: shivammathur/setup-php@eb7c497e18156a6bbabfef1d3a82760b9eda3962 # 2.40.0 with: php-version: 7.4 coverage: none @@ -145,7 +145,7 @@ jobs: fail-fast: true - name: Set up Node - uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 + uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0 with: node-version-file: './.nvmrc' cache: '' @@ -247,7 +247,7 @@ jobs: cp -a artifact/. yoast-test-helper/ - name: Upload plugin folder as workflow artifact - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 + uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 with: name: yoast-test-helper-${{ inputs.version }}${{ inputs.dry-run && '-dryrun' || '' }} path: yoast-test-helper