diff --git a/.github/workflows/phpcs.yml b/.github/workflows/phpcs.yml index 53d6438..248024e 100644 --- a/.github/workflows/phpcs.yml +++ b/.github/workflows/phpcs.yml @@ -19,7 +19,7 @@ jobs: phpcs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: ${{ inputs.ref }} fetch-depth: 0 @@ -31,7 +31,7 @@ jobs: id: get-composer-cache-dir run: | echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT - - uses: actions/cache@v2 + - uses: actions/cache@v4 id: composer-cache with: path: ${{ steps.get-composer-cache-dir.outputs.dir }} @@ -88,4 +88,4 @@ jobs: echo "$JSON_REPORT" | jq -r ' .files | to_entries[] | .key as $path | .value.messages[] as $msg | "\($path):\($msg.line):\($msg.column):`\($msg.source)`
\($msg.message)" ' | reviewdog -efm="%f:%l:%c:%m" -name="phpcs" -filter-mode="added" -fail-on-error=true -reporter=github-pr-review # Exit with the original phpcs exit code - exit $PHPCS_EXIT_CODE \ No newline at end of file + exit $PHPCS_EXIT_CODE diff --git a/.github/workflows/zip.yml b/.github/workflows/zip.yml index 4a60b03..86d1b98 100644 --- a/.github/workflows/zip.yml +++ b/.github/workflows/zip.yml @@ -95,7 +95,7 @@ jobs: echo "exists=false" >> $GITHUB_OUTPUT fi - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 if: steps.check-nvmrc.outputs.exists == 'true' with: node-version-file: '.nvmrc' @@ -176,7 +176,7 @@ jobs: id: get_composer_cache_dir run: | echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT - - uses: actions/cache@v2 + - uses: actions/cache@v4 if: steps.s3_zip_exists.outcome != 'success' id: composer_cache with: