Skip to content

Commit 37a1a98

Browse files
committed
GH Actions: version update for various predefined actions
A number of predefined actions have had major release, which warrant an update the workflow(s). These updates don't actually contain any changed functionality, they are mostly just a change of the Node version used by the action itself (from Node 14 to Node 16). Refs: * https://github.com/actions/checkout/releases * https://github.com/actions/download-artifact/releases * https://github.com/actions/upload-artifact/releases
1 parent 154a688 commit 37a1a98

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

.github/workflows/phpstan.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020

2121
steps:
2222
- name: Checkout code
23-
uses: actions/checkout@v2
23+
uses: actions/checkout@v3
2424

2525
- name: Install PHP
2626
uses: shivammathur/setup-php@v2

.github/workflows/test.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626

2727
steps:
2828
- name: Checkout code
29-
uses: actions/checkout@v2
29+
uses: actions/checkout@v3
3030

3131
- name: Setup PHP
3232
uses: shivammathur/setup-php@v2
@@ -39,7 +39,7 @@ jobs:
3939
run: php scripts/build-phar.php
4040

4141
- name: Upload the PHPCS phar
42-
uses: actions/upload-artifact@v2
42+
uses: actions/upload-artifact@v3
4343
if: ${{ success() && matrix.php == '8.0' }}
4444
with:
4545
name: phpcs-phar
@@ -48,7 +48,7 @@ jobs:
4848
retention-days: 28
4949

5050
- name: Upload the PHPCBF phar
51-
uses: actions/upload-artifact@v2
51+
uses: actions/upload-artifact@v3
5252
if: ${{ success() && matrix.php == '8.0' }}
5353
with:
5454
name: phpcbf-phar
@@ -89,7 +89,7 @@ jobs:
8989

9090
steps:
9191
- name: Checkout code
92-
uses: actions/checkout@v2
92+
uses: actions/checkout@v3
9393

9494
- name: Setup ini config
9595
id: set_ini
@@ -159,7 +159,7 @@ jobs:
159159
run: composer validate --no-check-all --strict
160160

161161
- name: Download the PHPCS phar
162-
uses: actions/download-artifact@v2
162+
uses: actions/download-artifact@v3
163163
with:
164164
name: phpcs-phar
165165

.github/workflows/validate.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222

2323
steps:
2424
- name: Checkout code
25-
uses: actions/checkout@v2
25+
uses: actions/checkout@v3
2626

2727
- name: Install xmllint
2828
run: sudo apt-get install --no-install-recommends -y libxml2-utils
@@ -63,7 +63,7 @@ jobs:
6363

6464
steps:
6565
- name: Checkout code
66-
uses: actions/checkout@v2
66+
uses: actions/checkout@v3
6767

6868
- name: Install PHP
6969
uses: shivammathur/setup-php@v2

0 commit comments

Comments
 (0)