Skip to content

Commit

Permalink
reuse CS workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Baptouuuu committed Jan 16, 2025
1 parent 63ca787 commit fc42dad
Showing 1 changed file with 3 additions and 17 deletions.
20 changes: 3 additions & 17 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,6 @@ jobs:
uses: innmind/github-workflows/.github/workflows/psalm-matrix.yml@main
secrets: inherit
cs:
runs-on: ubuntu-latest
strategy:
matrix:
php-version: ['8.2']
name: 'CS'
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
extensions: mbstring, intl
- name: Composer
uses: "ramsey/composer-install@v3"
- name: CS
run: vendor/bin/php-cs-fixer fix --diff --dry-run
uses: innmind/github-workflows/.github/workflows/cs.yml@main
with:
php-version: '8.2'

0 comments on commit fc42dad

Please sign in to comment.