File tree Expand file tree Collapse file tree 2 files changed +41
-15
lines changed Expand file tree Collapse file tree 2 files changed +41
-15
lines changed Original file line number Diff line number Diff line change 1+ name : CI Tests
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+
13+ steps :
14+ - uses : actions/checkout@v2
15+
16+ - name : Validate composer.json and composer.lock
17+ run : composer validate
18+
19+ - name : Get Composer Cache Directory
20+ id : composer-cache
21+ run : |
22+ echo "::set-output name=dir::$(composer config cache-files-dir)"
23+
24+ - name : Install dependencies
25+ run : composer install --prefer-dist --no-progress
26+
27+ - name : Run test suite
28+ run : composer test
29+
30+ - name : Run phpstan
31+ run : composer analyze
32+
33+ - name : Run codestyle checker
34+ run : composer cs-check
35+
36+ - uses : actions/cache@v1
37+ with :
38+ path : ${{ steps.composer-cache.outputs.dir }}
39+ key : ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
40+ restore-keys : |
41+ ${{ runner.os }}-composer-
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments