Skip to content

Commit e8eafdc

Browse files
exaby73transistive
authored andcommitted
feat: Update Github actions
1 parent 438b990 commit e8eafdc

File tree

2 files changed

+19
-9
lines changed

2 files changed

+19
-9
lines changed

.github/workflows/static-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- uses: php-actions/composer@v6
1717
with:
1818
progress: yes
19-
php_version: 8.0
19+
php_version: 8.1
2020
version: 2
2121
- name: "PHP-CS-Fixer"
2222
run: composer check-cs

.github/workflows/tests.yml

Lines changed: 18 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,29 @@ jobs:
1414
strategy:
1515
max-parallel: 10
1616
matrix:
17-
php: [ '8.0', '8.1', '8.2']
18-
sf_version: [ '5.4.*', '6.0.*', '6.3.*' ]
17+
php: [ '8.1', '8.2', '8.3']
18+
sf_version: [ '5.4.*', '6.4.*', '7.1.*' ]
1919
exclude:
20-
- php: 8.0
21-
sf_version: 6.3.*
20+
- php: 8.1
21+
sf_version: 7.1.*
2222

2323
steps:
2424
- uses: actions/checkout@v2
25-
- uses: php-actions/composer@v6
25+
- name: Validate composer.json
26+
run: composer validate --strict
27+
28+
- name: Setup PHP ${{ matrix.php }}
29+
uses: shivammathur/setup-php@v2
2630
with:
27-
progress: yes
28-
php_version: ${{matrix.php}}
29-
version: 2
31+
php-version: ${{ matrix.php }}
32+
run: php -v
33+
34+
- name: Install symfony/flex
35+
run: composer global require --no-progress --no-scripts --no-plugins symfony/flex
36+
37+
- name: Composer update on php ${{ matrix.php }} and symfony ${{ matrix.sf_version }}
38+
run: export SYMFONY_REQUIRE=${{ matrix.sf_version }} composer update --prefer-dist --no-progress
39+
3040
- uses: php-actions/phpunit@v3
3141
with:
3242
configuration: phpunit.xml.dist

0 commit comments

Comments
 (0)