Skip to content

Commit 4816702

Browse files
chore: fix ci deprecations, add testruns for PHP 8.1, 8.2, and 8.3 (#83)
* chore: fix ci deprecation, add testruns for php 8.1, 8.2 and 8.3 * chore: fix ci deprecation, add testruns for php 8.1, 8.2 and 8.3 --------- Co-authored-by: Christopher Georg <christopher.georg@sr-travel.de>
1 parent 36ad7bc commit 4816702

File tree

3 files changed

+10
-9
lines changed

3 files changed

+10
-9
lines changed

.github/workflows/continuous-integration.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,13 @@ jobs:
2626
- "7.3"
2727
- "7.4"
2828
- "8.0"
29-
# disabled for now as it leads to PHPUnit installing in a very old 4.3 version due to phpspec/prophecy not allowing 8.1
30-
# - "8.1"
29+
- "8.1"
30+
- "8.2"
31+
- "8.3"
3132

3233
steps:
3334
- name: "Checkout"
34-
uses: "actions/checkout@v2"
35+
uses: "actions/checkout@v4"
3536

3637
- name: "Install PHP"
3738
uses: "shivammathur/setup-php@v2"
@@ -41,10 +42,10 @@ jobs:
4142

4243
- name: Get composer cache directory
4344
id: composercache
44-
run: echo "::set-output name=dir::$(composer config cache-files-dir)"
45+
run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
4546

4647
- name: Cache dependencies
47-
uses: actions/cache@v2
48+
uses: actions/cache@v3
4849
with:
4950
path: ${{ steps.composercache.outputs.dir }}
5051
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }}

.github/workflows/lint.yml

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

1919
steps:
2020
- name: "Checkout"
21-
uses: "actions/checkout@v2"
21+
uses: "actions/checkout@v4"
2222

2323
- name: "Install PHP"
2424
uses: "shivammathur/setup-php@v2"

.github/workflows/phpstan.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020

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

2525
- name: "Install PHP"
2626
uses: "shivammathur/setup-php@v2"
@@ -30,10 +30,10 @@ jobs:
3030

3131
- name: Get composer cache directory
3232
id: composercache
33-
run: echo "::set-output name=dir::$(composer config cache-files-dir)"
33+
run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
3434

3535
- name: Cache dependencies
36-
uses: actions/cache@v2
36+
uses: actions/cache@v3
3737
with:
3838
path: ${{ steps.composercache.outputs.dir }}
3939
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }}

0 commit comments

Comments
 (0)