Skip to content

Commit 2dea8b3

Browse files
committed
chore: add ci tests for php 8.2, bump github actions versions
1 parent 719c34a commit 2dea8b3

3 files changed

Lines changed: 23 additions & 8 deletions

File tree

.github/workflows/code_checks.yaml

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,31 @@ jobs:
99
strategy:
1010
fail-fast: false
1111
matrix:
12-
php: ['7.2', '7.3', '7.4', '8.0', '8.1']
13-
stability: [ prefer-lowest, prefer-stable ]
12+
stability: [ prefer-stable ]
13+
include:
14+
- description: 'Lowest supported requirements'
15+
php: '7.2'
16+
stability: prefer-lowest
17+
- php: '7.2'
18+
stability: prefer-stable
19+
- php: '7.3'
20+
stability: prefer-stable
21+
- php: '7.4'
22+
stability: prefer-stable
23+
- php: '8.0'
24+
stability: prefer-stable
25+
- php: '8.1'
26+
stability: prefer-stable
27+
- php: '8.2'
28+
stability: prefer-stable
1429

1530
name: PHP ${{ matrix.php }} - ${{ matrix.stability }} tests
1631
steps:
1732
# basically git clone
18-
- uses: actions/checkout@v2
33+
- uses: actions/checkout@v3
1934

2035
- name: Cache dependencies
21-
uses: actions/cache@v1
36+
uses: actions/cache@v3
2237
with:
2338
path: ~/.composer/cache/files
2439
key: dependencies-php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }}

.github/workflows/code_coverage.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
code_coverage:
88
runs-on: ubuntu-latest
99
steps:
10-
- uses: actions/checkout@v2
10+
- uses: actions/checkout@v3
1111
- uses: shivammathur/setup-php@v2
1212
with:
1313
php-version: 8.0
@@ -17,7 +17,7 @@ jobs:
1717

1818
- run: vendor/bin/phpunit --coverage-clover build/logs/clover.xml
1919

20-
- uses: codecov/codecov-action@v1.3.1
20+
- uses: codecov/codecov-action@v3
2121
with:
2222
token: ${{ secrets.CODECOV_TOKEN }}
2323
files: build/logs/clover.xml

.github/workflows/tests-upcoming-symfony.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
continue-on-error: true
1313
steps:
1414
- name: 'Checkout code'
15-
uses: actions/checkout@v2.3.3
15+
uses: actions/checkout@v3
1616

1717
- name: 'Install PHP with extensions'
1818
uses: shivammathur/setup-php@2.7.0
@@ -25,7 +25,7 @@ jobs:
2525

2626
- name: 'Install project dependencies'
2727
env:
28-
SYMFONY_REQUIRE: '6.0.x@dev'
28+
SYMFONY_REQUIRE: '6.3.x@dev'
2929
run: |
3030
composer global require --no-progress --no-scripts --no-plugins symfony/flex
3131
composer config minimum-stability dev

0 commit comments

Comments
 (0)