We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b77cd4 commit 603c6b9Copy full SHA for 603c6b9
1 file changed
.github/workflows/cs.yml
@@ -1,13 +1,22 @@
1
-on:
2
- push:
3
- branches:
4
- - '*'
+name: PHP-CS-Fixer Check
5
6
-name: Check Code Style
+on: [push, pull_request]
7
8
jobs:
9
- cs-check:
10
- uses: spiral/gh-actions/.github/workflows/cs.yml@master
11
- with:
12
- os: >-
13
- ['ubuntu-latest']
+ phpcsfixer:
+ runs-on: ubuntu-latest
+
+ steps:
+ - uses: actions/checkout@v3
+ - name: Setup PHP
+ uses: shivammathur/setup-php@v2
14
+ with:
15
+ php-version: '8.1'
16
17
+ - name: Install dependencies
18
+ run: composer install --no-progress --no-suggest --prefer-dist
19
20
+ - name: Run PHP-CS-Fixer dry run
21
+ run: |
22
+ vendor/bin/php-cs-fixer fix --dry-run -v --diff
0 commit comments