Skip to content

Commit 737962e

Browse files
committed
ci: test with PHP 8.3 and upgrade actions
1 parent 8751bbf commit 737962e

File tree

3 files changed

+9
-10
lines changed

3 files changed

+9
-10
lines changed

.github/workflows/coding-style.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,13 @@ jobs:
1010

1111
steps:
1212
- name: "checkout"
13-
uses: "actions/checkout@v2"
13+
uses: "actions/checkout@v4"
1414

1515
- name: "installing PHP"
1616
uses: "shivammathur/setup-php@v2"
1717
with:
18-
php-version: "8.1"
19-
20-
- name: "installing php-cs-fixer"
21-
run: "wget https://github.com/FriendsOfPHP/PHP-CS-Fixer/releases/download/v3.14.4/php-cs-fixer.phar"
18+
php-version: "8.3"
19+
tools: php-cs-fixer
2220

2321
- name: "running php-cs-fixer"
24-
run: "php php-cs-fixer.phar fix --dry-run --diff --no-ansi"
22+
run: "php-cs-fixer fix --dry-run --diff --no-ansi"

.github/workflows/static-analysis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ jobs:
1010

1111
steps:
1212
- name: "checkout"
13-
uses: "actions/checkout@v2"
13+
uses: "actions/checkout@v4"
1414

1515
- name: "installing PHP"
1616
uses: "shivammathur/setup-php@v2"
1717
with:
18-
php-version: "8.2"
18+
php-version: "8.3"
1919
ini-values: memory_limit=-1
2020
tools: composer:v2, phpstan, cs2pr
2121

.github/workflows/unit-tests.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,13 @@ jobs:
2525
- "8.0"
2626
- "8.1"
2727
- "8.2"
28+
- "8.3"
2829
operating-system:
2930
- "ubuntu-latest"
3031

3132
steps:
3233
- name: "checkout"
33-
uses: "actions/checkout@v2"
34+
uses: "actions/checkout@v4"
3435

3536
- name: "installing PHP"
3637
uses: "shivammathur/setup-php@v2"
@@ -40,7 +41,7 @@ jobs:
4041
tools: composer:v2, cs2pr
4142

4243
- name: "caching dependencies"
43-
uses: "actions/cache@v2"
44+
uses: "actions/cache@v3"
4445
with:
4546
path: |
4647
~/.composer/cache

0 commit comments

Comments
 (0)