Skip to content

Commit

Permalink
🔧 Add PHP 8.2 to the CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Nek- committed Sep 3, 2023
1 parent 6e6b6ef commit 7a69ef9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.0
php-version: 8.2

- uses: actions/cache@v2
id: cache-composer
with:
path: ~/.composer/cache
key: composer-php-8.0-${{ github.sha }}
restore-keys: composer-php-8.0-
key: composer-php-8.2-${{ github.sha }}
restore-keys: composer-php-8.2-

- name: Install dependencies
run: composer update --prefer-dist --no-progress --no-suggest
Expand All @@ -37,7 +37,7 @@ jobs:
name: Unit tests
strategy:
matrix:
php: [ 8.0, 8.1 ]
php: [ 8.0, 8.1, 8.2 ]
os: [ ubuntu-latest ]
include:
- os: [ ubuntu-latest ]
Expand Down Expand Up @@ -72,7 +72,7 @@ jobs:
name: Functionnal tests
strategy:
matrix:
php: [ 8.0, 8.1 ]
php: [ 8.0, 8.1, 8.2 ]
os: [ ubuntu-latest ]
include:
- os: [ ubuntu-latest ]
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"behat/behat": "3.10.0",
"friends-of-behat/symfony-extension": "^2.3.0",
"fakerphp/faker": "^1.12.1",
"monolog/monolog": "^3.4",
"monolog/monolog": "^3.4 || ^2.9",
"masterminds/html5": "^2.8"
},
"autoload": {
Expand Down

0 comments on commit 7a69ef9

Please sign in to comment.