File tree Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Code style
2
+
3
+ on :
4
+ push :
5
+ pull_request :
6
+
7
+ jobs :
8
+
9
+ check-code-style :
10
+ runs-on : ubuntu-latest
11
+
12
+ strategy :
13
+ fail-fast : false
14
+ matrix :
15
+ php : ['8.2']
16
+
17
+ name : " Check code style | PHP ${{ matrix.php }}"
18
+
19
+ steps :
20
+ - name : Checkout code
21
+ uses : actions/checkout@v3
22
+
23
+ - name : Install PHP with latest composer
24
+ uses : shivammathur/setup-php@v2
25
+ with :
26
+ php-version : ${{ matrix.php }}
27
+ ini-values : error_reporting=-1, display_errors=On, log_errors_max_len=0
28
+ coverage : none
29
+ tools : none
30
+
31
+ # Install dependencies and handle caching in one go.
32
+ # @link https://github.com/marketplace/actions/install-composer-dependencies
33
+ - name : " Install Composer dependencies"
34
+ uses : " ramsey/composer-install@v2"
35
+
36
+ - name : " Check code style"
37
+ run : composer run codestyle -- --dry-run
You can’t perform that action at this time.
0 commit comments