Skip to content

Commit 2289b16

Browse files
committed
fix build
1 parent af60b32 commit 2289b16

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

.github/workflows/static.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,11 @@ jobs:
1515
- name: Checkout code
1616
uses: actions/checkout@v4
1717

18-
- name: Pull in optional dependencies
19-
run: composer require --no-update jean-beru/fos-http-cache-cloudfront twig/twig symfony/console phpstan/phpstan-symfony
18+
- name: Pull in optional dependencies and phpstan
19+
run: composer require jean-beru/fos-http-cache-cloudfront twig/twig symfony/console
2020

2121
- name: PHPStan
22-
uses: docker://oskarstark/phpstan-ga
23-
with:
24-
args: analyze --no-progress
22+
run: vendor/bin/phpstan analyze --no-progress
2523

2624
phpstan-tests:
2725
name: PHPStan tests
@@ -33,10 +31,11 @@ jobs:
3331
- name: Checkout code
3432
uses: actions/checkout@v4
3533

34+
- name: Install phpstan
35+
run: composer install
36+
3637
- name: PHPStan
37-
uses: docker://oskarstark/phpstan-ga
38-
with:
39-
args: analyze --no-progress -c phpstan.tests.neon.dist
38+
run: vendor/bin/phpstan analyze --no-progress -c phpstan.tests.neon.dist
4039

4140
php-cs-fixer:
4241
name: PHP-CS-Fixer

0 commit comments

Comments
 (0)