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 829b2e9 commit ddf9acfCopy full SHA for ddf9acf
.github/workflows/code-style.yaml
@@ -0,0 +1,35 @@
1
+name: Code style
2
+
3
+on:
4
+ pull_request: null
5
+ push:
6
+ branches:
7
+ - master
8
9
+jobs:
10
+ code_analysis:
11
+ strategy:
12
+ fail-fast: false
13
+ matrix:
14
+ actions:
15
+ -
16
+ name: "Code style"
17
+ run: vendor/bin/php-cs-fixer fix -v --diff --dry-run
18
+ php-versions: ['7.4']
19
20
+ name: ${{ matrix.actions.name }}
21
+ runs-on: ubuntu-latest
22
23
+ steps:
24
+ - uses: actions/checkout@v2
25
26
+ # see https://github.com/shivammathur/setup-php
27
+ - uses: shivammathur/setup-php@v2
28
+ with:
29
+ php-version: ${{ matrix.php-versions }}
30
+ coverage: none
31
32
+ # composer install cache - https://github.com/ramsey/composer-install
33
+ - uses: "ramsey/composer-install@v1"
34
35
+ - run: ${{ matrix.actions.run }}
0 commit comments