Skip to content

Commit 71627d4

Browse files
committed
Fix CI
1 parent 1c55aa8 commit 71627d4

File tree

1 file changed

+2
-72
lines changed

1 file changed

+2
-72
lines changed

.github/workflows/check.yml

Lines changed: 2 additions & 72 deletions
Original file line numberDiff line numberDiff line change
@@ -18,79 +18,9 @@ jobs:
1818
- uses: ramsey/composer-install@v3
1919
with:
2020
composer-options: --optimize-autoloader
21+
env:
22+
COMPOSER_ROOT_VERSION: dev-main
2123
- run: composer validate
2224
- run: composer normalize --dry-run
2325
- run: composer check-require
2426
- run: composer check-unused
25-
26-
lint:
27-
runs-on: ubuntu-latest
28-
steps:
29-
- uses: actions/checkout@v4
30-
- uses: shivammathur/setup-php@v2
31-
with:
32-
php-version: 8.1
33-
tools: composer:v2
34-
coverage: none
35-
- uses: ramsey/composer-install@v3
36-
with:
37-
composer-options: --optimize-autoloader
38-
- run: composer fixcs -- --dry-run --format=checkstyle
39-
40-
psalm:
41-
runs-on: ubuntu-latest
42-
strategy:
43-
matrix:
44-
dependency-versions: [locked, lowest, highest]
45-
steps:
46-
- uses: actions/checkout@v4
47-
- uses: shivammathur/setup-php@v2
48-
with:
49-
php-version: 8.1
50-
tools: composer:v2
51-
coverage: none
52-
- uses: ramsey/composer-install@v3
53-
with:
54-
composer-options: --optimize-autoloader
55-
dependency-versions: ${{ matrix.dependency-versions }}
56-
- run: composer psalm -- --stats --output-format=github ${{ matrix.dependency-versions == 'locked' && '--shepherd' || '' }}
57-
58-
test:
59-
runs-on: ubuntu-latest
60-
strategy:
61-
matrix:
62-
php: [8.1, 8.2, 8.3]
63-
dependency-versions: [locked, lowest, highest]
64-
steps:
65-
- uses: actions/checkout@v4
66-
- uses: shivammathur/setup-php@v2
67-
with:
68-
php-version: ${{ matrix.php }}
69-
ini-file: development
70-
tools: composer:v2
71-
coverage: ${{ matrix.php == '8.1' && matrix.dependency-versions == 'locked' && 'pcov' || '' }}
72-
- uses: ramsey/composer-install@v3
73-
with:
74-
composer-options: --optimize-autoloader
75-
dependency-versions: ${{ matrix.dependency-versions }}
76-
- run: composer test -- --colors=always --coverage-clover coverage.xml
77-
- if: ${{ matrix.php == '8.1' && matrix.dependency-versions == 'locked' }}
78-
uses: codecov/codecov-action@v4
79-
env:
80-
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
81-
82-
infection:
83-
runs-on: ubuntu-latest
84-
steps:
85-
- uses: actions/checkout@v4
86-
- uses: shivammathur/setup-php@v2
87-
with:
88-
php-version: 8.1
89-
ini-file: development
90-
tools: composer:v2
91-
- uses: ramsey/composer-install@v3
92-
with:
93-
composer-options: --optimize-autoloader
94-
- run: composer infection
95-
env:
96-
STRYKER_DASHBOARD_API_KEY: ${{ secrets.STRYKER_DASHBOARD_API_KEY }}

0 commit comments

Comments
 (0)