Skip to content

Commit

Permalink
Updating workflow to add lint check
Browse files Browse the repository at this point in the history
  • Loading branch information
erikaheidi committed Dec 21, 2023
1 parent fd4c07d commit eec521a
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,20 @@ jobs:
- name: Validate composer.json and composer.lock
run: composer validate --strict

- name: Cache Composer packages
id: composer-cache
uses: actions/cache@v2
with:
path: vendor
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-php-
- name: Install dependencies
run: composer install --prefer-dist --no-progress

- name: Check code style
run: composer test:lint

- name: Run test suite
run: ./vendor/bin/pest
run: composer test:unit

0 comments on commit eec521a

Please sign in to comment.