File tree 1 file changed +7
-6
lines changed 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -2,17 +2,17 @@ name: Test
2
2
3
3
on :
4
4
push :
5
- branches :
6
- - main
5
+ branches : [ 'main' ]
7
6
pull_request :
8
- types : [ opened, synchronize, reopened ]
7
+ types : [ ' opened', ' synchronize', ' reopened' ]
9
8
10
9
jobs :
11
10
test :
12
11
runs-on : ubuntu-latest
12
+
13
13
strategy :
14
14
matrix :
15
- php-version : [ 8.0, 8.1 ]
15
+ php-version : [ ' 8.0', ' 8.1 ' ]
16
16
17
17
steps :
18
18
- name : Checkout source code
37
37
- name : Validate composer.json and composer.lock
38
38
run : composer validate
39
39
40
- - name : Install Dependencies
41
- run : composer install --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist
40
+ - name : Install dependencies
41
+ if : steps.composer-cache.outputs.cache-hit != 'true'
42
+ run : composer install --prefer-dist --no-progress --no-suggest
42
43
43
44
- name : Execute Static Code analysis
44
45
run : composer analyse
You can’t perform that action at this time.
0 commit comments