This repository has been archived by the owner on Jun 23, 2024. It is now read-only.
forked from navitronic/psymf
-
-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: Fix ci to run on symfony 7 using php matrix
- Loading branch information
Showing
1 changed file
with
14 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,6 +14,18 @@ jobs: | |
symfony-version: | ||
- '^5.4' | ||
- '^6.0' | ||
- '^7.0' | ||
php-version: | ||
- '8.0' | ||
- '8.1' | ||
- '8.2' | ||
exclude: | ||
- symfony-version: '^5.4' | ||
php-version: '8.2' | ||
- symfony-version: '^7.0' | ||
php-version: '8.0' | ||
- symfony-version: '^7.0' | ||
php-version: '8.1' | ||
steps: | ||
- name: 'Checkout code' | ||
uses: actions/[email protected] | ||
|
@@ -22,13 +34,13 @@ jobs: | |
uses: shivammathur/[email protected] | ||
with: | ||
coverage: none | ||
php-version: '8.0' | ||
php-version: ${{ matrix.php-version }} | ||
tools: composer:v2 | ||
extensions: mbstring | ||
ini-values: date.timezone=UTC | ||
|
||
- name: 'Configure Symfony version' | ||
run: composer require --dev --no-update "symfony/symfony:${{ matrix.symfony-version }}" | ||
run: composer require --dev --no-update "symfony/yaml:${{ matrix.symfony-version }}" | ||
|
||
- name: 'Install project dependencies' | ||
run: composer update --prefer-dist --prefer-stable | ||
|