Skip to content

Commit

Permalink
Update php.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
dmvdbrugge authored Sep 22, 2024
1 parent 5cd10b9 commit 91ed2e7
Showing 1 changed file with 15 additions and 6 deletions.
21 changes: 15 additions & 6 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,12 @@ jobs:
- uses: actions/checkout@v4

- name: Validate composer.json and composer.lock
run: composer validate --strict
run: composer validate --strict \
&& composer validate --strict --working-dir=devtools/php-cs-fixer \
&& composer validate --strict --working-dir=devtools/phpstan \
&& composer validate --strict --working-dir=devtools/phpunit

- name: Cache Composer packages
- name: Cache Composer Packages
id: composer-cache
uses: actions/cache@v3
with:
Expand All @@ -29,14 +32,20 @@ jobs:
restore-keys: |
${{ runner.os }}-php-
- name: Install dependencies
- name: Install Dependencies
run: composer install --prefer-dist --no-progress

- name: Run PHP-CS-Fixer
- name: Install Tools
run: make \
devtools/php-cs-fixer/vendor/bin/php-cs-fixer \
devtools/phpstan/vendor/bin/phpstan \
devtools/phpunit/vendor/bin/phpunit

- name: Run CodeStyle Check
run: make codestyle

- name: Run static analysis
- name: Run Static Analysis
run: make stan

- name: Run test suite
- name: Run Test Suite
run: make tests

0 comments on commit 91ed2e7

Please sign in to comment.