Skip to content

Commit 445b1f3

Browse files
committed
Move checkstyle to dedicated job and avoid running it on every testing matrix version
1 parent 622ca5f commit 445b1f3

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

.github/workflows/ci.yml

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,20 @@ jobs:
3232
composer require --no-update --dev symfony/symfony:${{ matrix.symfony-version }}
3333
composer update --no-interaction --no-progress --no-suggest
3434
35-
- name: "Run checkstyle with squizlabs/php_codesniffer"
36-
run: vendor/bin/phpcs
37-
3835
- name: "Run tests with phpunit/phpunit"
3936
run: vendor/bin/phpunit --coverage-text
37+
38+
checkstyke:
39+
name: "Checkstyle"
40+
runs-on: ubuntu-latest
41+
42+
steps:
43+
- name: "Checkout"
44+
uses: actions/[email protected]
45+
46+
- name: "Install dependencies with composer"
47+
run: |
48+
composer update --no-interaction --no-progress --no-suggest
49+
50+
- name: "Run checkstyle with squizlabs/php_codesniffer"
51+
run: vendor/bin/phpcs

0 commit comments

Comments
 (0)