Skip to content

Commit

Permalink
Update check.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
giuscris authored Oct 19, 2024
1 parent 79ab3b6 commit cb81de6
Showing 1 changed file with 27 additions and 24 deletions.
51 changes: 27 additions & 24 deletions .github/workflows/check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,11 @@ name: Check

on:
push:
branches-ignore:
- 1.x
branches:
- 2.x
pull_request:
branches:
- 2.x

permissions:
contents: read
Expand All @@ -14,25 +17,25 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.2'
tools: composer

- uses: actions/checkout@v4

- name: Validate composer.json and composer.lock
run: composer validate --strict

- name: Install dependencies
run: composer install

- name: Check coding style
run: composer fix:check

- name: Run PHPStan
run: composer phpstan

- name: Run Rector
run: composer rector:check
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.2'
tools: composer
- uses: actions/checkout@v4
- name: Validate composer.json and composer.lock
run: composer validate --strict
- name: Install dependencies
run: composer install
- name: Check coding style
run: composer fix:check
- name: Run PHPStan
run: composer phpstan
- name: Run Rector
run: composer rector:check

0 comments on commit cb81de6

Please sign in to comment.