File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change
1
+ # https://help.github.com/en/categories/automating-your-workflow-with-github-actions
2
+
3
+ name : " Update stubs"
4
+ on :
5
+ pull_request :
6
+ paths :
7
+ - ' extractor/**'
8
+ - ' .github/workflows/phpstan.yml'
9
+ push :
10
+ branches :
11
+ - " main"
12
+ paths :
13
+ - ' extractor/**'
14
+ - ' .github/workflows/phpstan.yml'
15
+
16
+ jobs :
17
+ phpstan :
18
+ name : " PHPStan"
19
+ runs-on : " ubuntu-latest"
20
+ steps :
21
+ - name : " Checkout"
22
+ uses : actions/checkout@v4
23
+ - name : " Install PHP"
24
+ uses : " shivammathur/setup-php@v2"
25
+ with :
26
+ coverage : " none"
27
+ php-version : " 8.3"
28
+ - name : " Install dependencies"
29
+ run : " composer install"
30
+ working-directory : ./extractor
31
+ - name : " Run PHPStan"
32
+ working-directory : ./extractor
33
+ run : " vendor/bin/phpstan"
You can’t perform that action at this time.
0 commit comments