File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed
Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change 1+ name : PHP Composer
2+
3+ on :
4+ push :
5+ branches : [ master ]
6+ pull_request :
7+ branches : [ master ]
8+
9+ jobs :
10+ build :
11+ runs-on : ubuntu-latest
12+ steps :
13+ - uses : actions/checkout@v2
14+
15+ - name : Install dependencies
16+ run : composer install --prefer-dist --no-progress
17+
18+ - name : Cache Composer dependencies
19+ id : composer-cache
20+ uses : actions/cache@v2
21+ with :
22+ path : vendor
23+ key : ${{ runner.os }}-php-${{ github.sha }}
24+
25+ psalm :
26+ runs-on : ubuntu-latest
27+ needs :
28+ - build
29+ steps :
30+ - uses : actions/checkout@v2
31+ - name : Restore cached composer dependencies
32+ id : composer-cache
33+ uses : actions/cache@v2
34+ with :
35+ path : vendor
36+ key : ${{ runner.os }}-php-${{ github.sha }}
37+
38+ - name : Run psalm validation
39+ run : vendor/bin/psalm --output-format=github --shepherd
You can’t perform that action at this time.
0 commit comments