Skip to content

Commit

Permalink
ci: add php-cs-fixer check (#199)
Browse files Browse the repository at this point in the history
* ci: add php-cs-fixer check

* phive install

* phive
  • Loading branch information
priyadi authored Sep 7, 2024
1 parent 7066470 commit e42e1c4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
with:
php-version: ${{ matrix.php }}
extensions: intl
tools: flex
tools: flex, phive

- name: Validate composer.json and composer.lock
run: composer validate --strict
Expand All @@ -42,6 +42,9 @@ jobs:
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-php-
- name: phive
run: phive install --trust-gpg-keys E82B2FB314E9906E

- name: Install dependencies
uses: ramsey/composer-install@v3
Expand All @@ -68,6 +71,10 @@ jobs:
# - name: Rector
# run: vendor/bin/rector process --no-progress-bar --no-diffs --dry-run --no-ansi

- name: Validate php-cs-fixer
run: |
tools/php-cs-fixer check --allow-risky=yes -q
- name: Load fixtures
run: make fixtures

Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

* fix(`SymfonySerializerKeysetPageIdentifierEncoder`): handle more errors
* feat: link headers
* ci: add php-cs-fixer check

# 0.17.1

Expand Down

0 comments on commit e42e1c4

Please sign in to comment.