Commit 5aa9ca1 1 parent 26e2a30 commit 5aa9ca1 Copy full SHA for 5aa9ca1
File tree 1 file changed +17
-1
lines changed
1 file changed +17
-1
lines changed Original file line number Diff line number Diff line change 5
5
branches :
6
6
- develop
7
7
- trunk
8
+ paths :
9
+ - " **.php"
8
10
pull_request :
9
11
branches :
10
12
- develop
13
+ paths :
14
+ - " **.php"
11
15
12
16
jobs :
13
-
14
17
phpstan :
15
18
name : PHPStan
16
19
runs-on : ubuntu-latest
26
29
coverage : none
27
30
tools : composer:v2
28
31
32
+ - name : Get composer cache directory
33
+ id : composer-cache
34
+ run : echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
35
+
36
+ - name : Cache dependencies
37
+ id : cache-composer
38
+ uses : actions/cache@v4
39
+ env :
40
+ cache-name : cache-composer
41
+ with :
42
+ path : ${{ steps.composer-cache.outputs.dir }}
43
+ key : ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/composer.lock') }}
44
+
29
45
- name : Install dependencies
30
46
run : composer install
31
47
You can’t perform that action at this time.
0 commit comments