File tree Expand file tree Collapse file tree 3 files changed +37
-62
lines changed Expand file tree Collapse file tree 3 files changed +37
-62
lines changed Original file line number Diff line number Diff line change
1
+ name : lint
2
+ on :
3
+ push :
4
+ branches :
5
+ - master
6
+ - main
7
+ pull_request :
8
+ jobs :
9
+ run :
10
+ runs-on : ${{ matrix.operating-system }}
11
+ strategy :
12
+ matrix :
13
+ operating-system : [ 'ubuntu-latest' ]
14
+ php-versions : [ '7.4' ]
15
+ steps :
16
+ - name : Checkout
17
+ uses : actions/checkout@v2
18
+
19
+ - name : Cache vendor
20
+ uses : actions/cache@v2
21
+ with :
22
+ path : |
23
+ vendor
24
+ key : vendor-${{ hashFiles('composer.lock') }}
25
+
26
+ - name : Setup PHP
27
+ uses : shivammathur/setup-php@v2
28
+ with :
29
+ php-version : ${{ matrix.php-versions }}
30
+ ini-values : post_max_size=256M, max_execution_time=180
31
+ tools : composer
32
+
33
+ - name : Populate vendor
34
+ run : ' [ -e vendor ] || composer install'
35
+
36
+ - name : Lint
37
+ run : make lint
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments