Skip to content

Commit 4b95195

Browse files
committed
chore(ci): fix release flow
1 parent 310ec0f commit 4b95195

File tree

1 file changed

+3
-20
lines changed

1 file changed

+3
-20
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -6,40 +6,23 @@ on:
66
jobs:
77
tests:
88
runs-on: ubuntu-latest
9-
109
strategy:
1110
matrix:
1211
php: [ 8.2, 8.3, 8.4 ]
13-
1412
steps:
1513
- name: Checkout code
1614
uses: actions/checkout@v4
17-
1815
- name: Setup PHP
1916
uses: shivammathur/setup-php@v2
2017
with:
2118
php-version: ${{ matrix.php }}
22-
coverage: none
23-
19+
tools: phpstan
2420
- name: Validate composer.json and composer.lock
2521
run: composer validate
26-
2722
- name: Install dependencies
2823
run: composer install --prefer-dist --no-progress --no-interaction --no-suggest
29-
30-
- name: Execute Code Sniffer
31-
run: vendor/bin/phpcs
32-
33-
- name: Execute PHP Stan
34-
run: vendor/bin/phpstan
35-
36-
- name: Run test suite
37-
run: |
38-
php -S 127.0.0.1:8000 -t tests/data/app >/dev/null 2>&1 &
39-
php -S 127.0.0.1:8010 -t tests/data/rest >/dev/null 2>&1 &
40-
php vendor/bin/codecept run
41-
42-
24+
- name: Run PHPStan
25+
run: phpstan
4326
release:
4427
name: Automated release
4528
needs:

0 commit comments

Comments
 (0)