We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8cf3c9a commit 18eec8eCopy full SHA for 18eec8e
1 file changed
.github/workflows/qa.yml
@@ -16,6 +16,21 @@ jobs:
16
extensions: mbstring, intl
17
tools: phpcs
18
19
+ - name: Get composer cache directory
20
+ id: composercache
21
+ run: echo "::set-output name=dir::$(composer config cache-files-dir)"
22
+
23
+ - name: Cache dependencies
24
+ uses: actions/cache@v2
25
+ with:
26
+ path: ${{ steps.composercache.outputs.dir }}
27
+ key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }}
28
+ restore-keys: ${{ runner.os }}-composer-
29
30
+ - name: Install composer dependencies
31
+ run: |
32
+ composer install
33
34
- name: Run PHP Code Sniffer
35
run: |
36
composer lint
@@ -49,7 +64,7 @@ jobs:
49
64
50
65
- name: Run phpstan
51
66
52
- composer analyze
67
+ composer analyse
53
68
54
69
unit-tests:
55
70
runs-on: ubuntu-20.04
0 commit comments