diff --git a/.github/workflows/codeception.yml b/.github/workflows/codeception.yml index 760de3d6..9cc1778e 100644 --- a/.github/workflows/codeception.yml +++ b/.github/workflows/codeception.yml @@ -81,7 +81,7 @@ jobs: echo "PHP_FPM_GID=$(id -g)" >> "$GITHUB_ENV" - name: Checkout repository - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: show-progress: ${{ runner.debug == '1' && 'true' || 'false' }} persist-credentials: false @@ -104,7 +104,7 @@ jobs: uses: ramsey/composer-install@65e4f84970763564f46a70b8a54b90d033b3bdda # v4.0.0 - name: Setup Node - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 + uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 with: cache: 'npm' node-version-file: '.nvmrc' @@ -116,7 +116,7 @@ jobs: run: mkdir -p ~/.wp-env/downloads tests/_data/plugins tests/_data/mu-plugins - name: Cache WordPress downloads - uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5 + uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 with: path: ~/.wp-env/downloads key: ${{ runner.os }}-wp-env-downloads-${{ hashFiles('.wp-env.json') }} @@ -124,7 +124,7 @@ jobs: ${{ runner.os }}-wp-env-downloads- - name: Cache WordPress Plugins - uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5 + uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 with: path: | tests/_data/plugins diff --git a/.github/workflows/phpcs.yml b/.github/workflows/phpcs.yml index ba13a884..cebd0bb6 100644 --- a/.github/workflows/phpcs.yml +++ b/.github/workflows/phpcs.yml @@ -47,7 +47,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: show-progress: ${{ runner.debug == '1' && 'true' || 'false' }} persist-credentials: false @@ -66,7 +66,7 @@ jobs: run: echo "date=$(/bin/date -u --date='last Mon' "+%F")" >> "$GITHUB_OUTPUT" - name: Cache PHPCS scan cache - uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5 + uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 with: path: tests/_output/phpcs-cache.json key: ${{ runner.os }}-date-${{ steps.get-date.outputs.date }}-phpcs-cache-${{ hashFiles('**/composer.json', 'phpcs.xml.dist') }} diff --git a/.github/workflows/phpstan.yml b/.github/workflows/phpstan.yml index b22fa52b..52ee3506 100644 --- a/.github/workflows/phpstan.yml +++ b/.github/workflows/phpstan.yml @@ -62,7 +62,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: show-progress: ${{ runner.debug == '1' && 'true' || 'false' }} persist-credentials: false @@ -81,7 +81,7 @@ jobs: run: echo "date=$(/bin/date -u --date='last Mon' "+%F")" >> "$GITHUB_OUTPUT" - name: Cache PHP Static Analysis scan cache - uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5 + uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 with: path: tests/_output # This is defined in the base.neon file. key: 'phpstan-result-cache-${{ runner.os }}-date-${{ steps.get-date.outputs.date }}' @@ -95,7 +95,7 @@ jobs: run: echo "${PWD}/vendor/bin" >> "$GITHUB_PATH" - name: Setup Node - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 + uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 with: cache: 'npm' node-version-file: '.nvmrc' @@ -107,7 +107,7 @@ jobs: run: mkdir -p ~/.wp-env/downloads - name: Cache WordPress downloads - uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5 + uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 with: path: ~/.wp-env/downloads key: ${{ runner.os }}-wp-env-downloads-${{ hashFiles('.wp-env.json') }} @@ -115,7 +115,7 @@ jobs: ${{ runner.os }}-wp-env-downloads- - name: Cache WordPress Plugins - uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5 + uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 with: path: | tests/_data/plugins @@ -142,7 +142,7 @@ jobs: run: phpstan analyse -vvv --error-format=checkstyle | cs2pr - name: Save result cache - uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5 + uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 if: ${{ !cancelled() }} with: path: tests/_output diff --git a/.github/workflows/schema-linter.yml b/.github/workflows/schema-linter.yml index b4bfa9e7..ac4e6de5 100644 --- a/.github/workflows/schema-linter.yml +++ b/.github/workflows/schema-linter.yml @@ -64,7 +64,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: show-progress: ${{ runner.debug == '1' && 'true' || 'false' }} persist-credentials: false @@ -89,7 +89,7 @@ jobs: run: echo "${PWD}/vendor/bin" >> "$GITHUB_PATH" - name: Setup Node - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 + uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 with: cache: 'npm' node-version-file: '.nvmrc' @@ -101,7 +101,7 @@ jobs: run: mkdir -p ~/.wp-env/downloads tests/_data/plugins tests/_data/mu-plugins - name: Cache WordPress downloads - uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5 + uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 with: path: ~/.wp-env/downloads key: ${{ runner.os }}-wp-env-downloads-${{ hashFiles('.wp-env.json') }} @@ -109,7 +109,7 @@ jobs: ${{ runner.os }}-wp-env-downloads- - name: Cache WordPress Plugins - uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5 + uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 with: path: | tests/_data/plugins diff --git a/.github/workflows/upload-release.yml b/.github/workflows/upload-release.yml index b6338151..c0610176 100644 --- a/.github/workflows/upload-release.yml +++ b/.github/workflows/upload-release.yml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: show-progress: ${{ runner.debug == '1' && 'true' || 'false' }} persist-credentials: false @@ -28,7 +28,7 @@ jobs: composer-options: '--no-progress --no-dev --optimize-autoloader' - name: Setup Node - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 + uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 with: cache: 'npm' node-version-file: '.nvmrc' @@ -47,7 +47,7 @@ jobs: path: wp-graphql-gravity-forms.zip - name: Upload release asset - uses: softprops/action-gh-release@718ea10b132b3b2eba29c1007bb80653f286566b # v3.0.1 + uses: softprops/action-gh-release@3d0d9888cb7fd7b750713d6e236d1fcb99157228 # v3.0.2 with: files: wp-graphql-gravity-forms.zip env: diff --git a/.github/workflows/upload-schema-artifact.yml b/.github/workflows/upload-schema-artifact.yml index 51f9470d..38d09a39 100644 --- a/.github/workflows/upload-schema-artifact.yml +++ b/.github/workflows/upload-schema-artifact.yml @@ -14,7 +14,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: show-progress: ${{ runner.debug == '1' && 'true' || 'false' }} persist-credentials: false @@ -38,7 +38,7 @@ jobs: run: echo "${PWD}/vendor/bin" >> "$GITHUB_PATH" - name: Setup Node - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 + uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 with: cache: 'npm' node-version-file: '.nvmrc' @@ -47,7 +47,7 @@ jobs: run: npm ci - name: Cache Docker images - uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5 + uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 with: path: ~/.wp-env key: ${{ runner.os }}-wp-env-${{ hashFiles('.wp-env.json', 'package.json') }} @@ -73,6 +73,6 @@ jobs: echo "Schema generated: $(wc -l < tests/_output/schema.graphql) lines" - name: Upload schema as release artifact - uses: softprops/action-gh-release@718ea10b132b3b2eba29c1007bb80653f286566b # v3.0.1 + uses: softprops/action-gh-release@3d0d9888cb7fd7b750713d6e236d1fcb99157228 # v3.0.2 with: files: tests/_output/schema.graphql