Skip to content

Commit

Permalink
#1 - ci fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilpiech97 committed Apr 4, 2024
1 parent 9f542a4 commit 94ef50f
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,25 @@ jobs:
extensions: dom, curl, libxml, mbstring, zip, pcntl, intl, git
coverage: none

- name: Cache composer dependencies
uses: actions/cache@v2
with:
path: vendor
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-composer-
- name: Validate composer.json
run: composer validate

- name: Install Composer dependencies
working-directory: src
run: composer install --prefer-dist --no-interaction

- name: Run linter
working-directory: src
run: composer cs

- name: Run test
working-directory: src
run: composer test

0 comments on commit 94ef50f

Please sign in to comment.