Skip to content

chore(deps): update github-actions (major) #3443

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: 2.1.x
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/apiref.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:

steps:
- name: "Checkout"
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: "Install PHP"
uses: "shivammathur/setup-php@v2"
Expand Down Expand Up @@ -63,10 +63,10 @@ jobs:
- name: "Install Node"
uses: actions/setup-node@v4
with:
node-version: "16"
node-version: "22"

- name: "Download docs"
uses: actions/download-artifact@v4
uses: actions/download-artifact@v5
with:
name: docs
path: docs
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/backward-compatibility.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:

steps:
- name: "Checkout"
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
fetch-depth: 0

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-issue-bot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:

steps:
- name: "Checkout"
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: "Install PHP"
uses: "shivammathur/setup-php@v2"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/changelog-generator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:

steps:
- name: "Checkout"
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: "Install PHP"
uses: "shivammathur/setup-php@v2"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/create-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
runs-on: "ubuntu-latest"
steps:
- name: "Checkout"
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
fetch-depth: 0
token: ${{ secrets.PHPSTAN_BOT_TOKEN }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ jobs:

steps:
- name: "Checkout"
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: "Install PHP"
uses: "shivammathur/setup-php@v2"
Expand Down Expand Up @@ -395,7 +395,7 @@ jobs:

steps:
- name: "Checkout"
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: "Install PHP"
uses: "shivammathur/setup-php@v2"
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/issue-bot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:

steps:
- name: "Checkout"
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: "Install PHP"
uses: "shivammathur/setup-php@v2"
Expand Down Expand Up @@ -82,7 +82,7 @@ jobs:

steps:
- name: "Checkout"
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: "Install PHP"
uses: "shivammathur/setup-php@v2"
Expand Down Expand Up @@ -124,7 +124,7 @@ jobs:

steps:
- name: "Checkout"
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: "Install PHP"
uses: "shivammathur/setup-php@v2"
Expand All @@ -136,17 +136,17 @@ jobs:
working-directory: "issue-bot"
run: "composer install --no-interaction --no-progress"

- uses: actions/download-artifact@v4
- uses: actions/download-artifact@v5
with:
name: playground-cache
path: issue-bot/tmp

- uses: actions/download-artifact@v4
- uses: actions/download-artifact@v5
with:
name: issue-cache
path: issue-bot/tmp

- uses: actions/download-artifact@v4
- uses: actions/download-artifact@v5
with:
pattern: results-*
merge-multiple: true
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:

steps:
- name: "Checkout"
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: "Install PHP"
uses: "shivammathur/setup-php@v2"
Expand Down Expand Up @@ -68,7 +68,7 @@ jobs:

steps:
- name: "Checkout"
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: "Install PHP"
uses: "shivammathur/setup-php@v2"
Expand Down Expand Up @@ -96,7 +96,7 @@ jobs:

steps:
- name: "Checkout"
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: "Install PHP"
uses: "shivammathur/setup-php@v2"
Expand All @@ -118,7 +118,7 @@ jobs:

steps:
- name: "Checkout"
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: "Install PHP"
uses: "shivammathur/setup-php@v2"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/merge-maintained-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: "Checkout"
uses: actions/checkout@v4
uses: actions/checkout@v5
- name: "Merge branch"
uses: everlytic/branch-merge@1.1.5
with:
Expand Down
24 changes: 12 additions & 12 deletions .github/workflows/phar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:

steps:
- name: "Checkout"
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
fetch-depth: 0

Expand Down Expand Up @@ -155,7 +155,7 @@ jobs:
if: github.event_name == 'pull_request' && needs.compiler-tests.outputs.compiler_changed == 'true'
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5

- name: Get base commit SHA
id: base
Expand All @@ -164,7 +164,7 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22

- name: Install dependencies
working-directory: .github/scripts
Expand All @@ -188,7 +188,7 @@ jobs:

# saved to phar-file-checksum/phpstan.phar
- name: Download old artifact by ID
uses: actions/download-artifact@v4
uses: actions/download-artifact@v5
with:
artifact-ids: ${{ steps.find-artifact.outputs.artifact_id }}
run-id: ${{ steps.find-artifact.outputs.run_id }}
Expand All @@ -209,7 +209,7 @@ jobs:
steps:
# saved to phpstan.phar
- name: "Download base phpstan.phar"
uses: actions/download-artifact@v4
uses: actions/download-artifact@v5
with:
name: phar-file-checksum-base

Expand All @@ -228,18 +228,18 @@ jobs:
needs: download-base-sha-phar
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5

# saved to phar-file-checksum/phpstan.phar
- name: "Download phpstan.phar"
uses: actions/download-artifact@v4
uses: actions/download-artifact@v5
with:
name: phar-file-checksum
path: phar-file-checksum

# saved to phar-file-checksum-base/phpstan.phar
- name: "Download base phpstan.phar"
uses: actions/download-artifact@v4
uses: actions/download-artifact@v5
with:
name: phar-file-checksum-base
path: phar-file-checksum-base
Expand Down Expand Up @@ -294,7 +294,7 @@ jobs:
git_commit_gpgsign: true

- name: "Checkout phpstan-dist"
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
repository: phpstan/phpstan
path: phpstan-dist
Expand All @@ -307,7 +307,7 @@ jobs:
run: echo "sha=$(sed -n '2p' .phar-checksum)" >> $GITHUB_OUTPUT

- name: "Checkout phpstan-src"
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
fetch-depth: 0
path: phpstan-src
Expand Down Expand Up @@ -337,7 +337,7 @@ jobs:
fi

- name: "Download phpstan.phar"
uses: actions/download-artifact@v4
uses: actions/download-artifact@v5
with:
name: phar-file

Expand Down Expand Up @@ -383,7 +383,7 @@ jobs:

- name: "Commit PHAR - tag"
if: "startsWith(github.ref, 'refs/tags/')"
uses: stefanzweifel/git-auto-commit-action@v5
uses: stefanzweifel/git-auto-commit-action@v6
with:
commit_user_name: "phpstan-bot"
commit_user_email: "ondrej+phpstanbot@mirtes.cz"
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/reflection-golden-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:

steps:
- name: "Checkout"
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: "Install PHP"
uses: "shivammathur/setup-php@v2"
Expand Down Expand Up @@ -80,7 +80,7 @@ jobs:
attempt_delay: 1000

- name: "Checkout base commit"
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
ref: ${{ github.event.pull_request.base.sha || github.event.before }}

Expand All @@ -106,7 +106,7 @@ jobs:
path: ${{ env.REFLECTION_GOLDEN_TEST_FILE }}

- name: "Checkout"
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: "Install dependencies"
run: "composer install --no-interaction --no-progress"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/spelling.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

steps:
- name: "Checkout"
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: "Check for typos"
uses: "crate-ci/typos@v1"
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/static-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:

steps:
- name: "Checkout"
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: "Install PHP"
uses: "shivammathur/setup-php@v2"
Expand Down Expand Up @@ -85,7 +85,7 @@ jobs:

steps:
- name: "Checkout"
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: "Install PHP"
uses: "shivammathur/setup-php@v2"
Expand Down Expand Up @@ -123,7 +123,7 @@ jobs:

steps:
- name: "Checkout"
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: "Install PHP"
uses: "shivammathur/setup-php@v2"
Expand All @@ -149,7 +149,7 @@ jobs:

steps:
- name: "Checkout"
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: "Install PHP"
uses: "shivammathur/setup-php@v2"
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:

steps:
- name: "Checkout"
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: "Install PHP"
uses: "shivammathur/setup-php@v2"
Expand Down Expand Up @@ -70,7 +70,7 @@ jobs:

steps:
- name: "Checkout"
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: "Install PHP"
uses: "shivammathur/setup-php@v2"
Expand All @@ -95,7 +95,7 @@ jobs:

steps:
- name: "Checkout"
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: "Install PHP"
uses: "shivammathur/setup-php@v2"
Expand Down Expand Up @@ -130,7 +130,7 @@ jobs:

steps:
- name: "Checkout"
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: "Install PHP"
uses: "shivammathur/setup-php@v2"
Expand Down Expand Up @@ -164,7 +164,7 @@ jobs:

steps:
- name: "Checkout"
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: "Install PHP"
uses: "shivammathur/setup-php@v2"
Expand Down
Loading
Loading