@@ -11,35 +11,35 @@ jobs:
11
11
runs-on : ubuntu-latest
12
12
13
13
steps :
14
- - uses : actions/checkout@v2
15
- -
uses :
shivammathur/[email protected]
16
- with :
17
- php-version : 8.0
18
- extensions : xdebug
19
- - name : Validate composer.json and composer.lock
20
- run : composer validate
21
-
22
- - name : Cache Composer packages
23
- id : composer-cache
24
- uses : actions/cache@v2
25
- with :
26
- path : vendor
27
- key : ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
28
- restore-keys : |
29
- ${{ runner.os }}-php-
30
-
31
- - name : Install dependencies
32
- if : steps.composer-cache.outputs.cache-hit != 'true'
33
- run : composer install --prefer-dist --no-progress --no-suggest
34
-
35
- # Add a test script to composer.json, for instance: "test": "vendor/bin/phpunit"
36
- # Docs: https://getcomposer.org/doc/articles/scripts.md
37
-
38
- - name : Run test suite
39
- run : composer run-script test
40
-
41
- - name : upload coverage
42
- run : bash <(curl -s https://codecov.io/bash)
14
+ - uses : actions/checkout@v2
15
+ -
uses :
shivammathur/[email protected]
16
+ with :
17
+ php-version : 8.0
18
+ extensions : xdebug
19
+ - name : Validate composer.json and composer.lock
20
+ run : composer validate
21
+
22
+ - name : Cache Composer packages
23
+ id : composer-cache
24
+ uses : actions/cache@v2
25
+ with :
26
+ path : vendor
27
+ key : ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
28
+ restore-keys : |
29
+ ${{ runner.os }}-php-
30
+
31
+ - name : Install dependencies
32
+ if : steps.composer-cache.outputs.cache-hit != 'true'
33
+ run : composer install --prefer-dist --no-progress --no-suggest
34
+
35
+ # Add a test script to composer.json, for instance: "test": "vendor/bin/phpunit"
36
+ # Docs: https://getcomposer.org/doc/articles/scripts.md
37
+
38
+ - name : Run test suite
39
+ run : composer run-script test
40
+
41
+ - name : upload coverage
42
+ run : bash <(curl -s https://codecov.io/bash)
43
43
lint :
44
44
runs-on : ubuntu-latest
45
45
0 commit comments