Skip to content

Commit 208a6ca

Browse files
committed
Fixes to GitHub actions
1 parent 9156cfe commit 208a6ca

File tree

3 files changed

+10
-7
lines changed

3 files changed

+10
-7
lines changed

.github/workflows/php-cs-fixer.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
1-
name: PHPStan
1+
name: PHP CS Fixer
22

33
on: [push, pull_request]
44

55
jobs:
66
php-cs-fixer:
7-
name: PHP-CS-Fixer
8-
runs-on: ubuntu-latest
7+
name: PHP CS Fixer ${{ matrix.php-versions }}
8+
runs-on: 'ubuntu-latest'
9+
strategy:
10+
matrix:
11+
php-versions: ['8.3', '8.4']
12+
container: "ghcr.io/php-cs-fixer/php-cs-fixer:3-php${{ matrix.php-versions }}"
913
steps:
10-
- uses: actions/checkout@v3
1114
- name: PHP-CS-Fixer
12-
uses: docker://oskarstark/php-cs-fixer-ga
15+
run: php-cs-fixer check --config .php-cs-fixer.dist.php --using-cache=no --allow-risky=yes || exit 1

.github/workflows/phpstan.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on: [push, pull_request]
44

55
jobs:
66
phpstan:
7-
name: PHP ${{ matrix.php-versions }} Tests
7+
name: PHPStan ${{ matrix.php-versions }}
88
runs-on: ${{ matrix.operating-system }}
99
strategy:
1010
matrix:

.github/workflows/psalm.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on: [push, pull_request]
44

55
jobs:
66
phpstan:
7-
name: PHP ${{ matrix.php-versions }} Tests
7+
name: Psalm ${{ matrix.php-versions }}
88
runs-on: ${{ matrix.operating-system }}
99
strategy:
1010
matrix:

0 commit comments

Comments
 (0)