File tree Expand file tree Collapse file tree 2 files changed +56
-0
lines changed Expand file tree Collapse file tree 2 files changed +56
-0
lines changed Original file line number Diff line number Diff line change 1+ name : " Coding Standards"
2+
3+ on :
4+ pull_request :
5+ branches :
6+ - " *.x"
7+ - " main"
8+ push :
9+ branches :
10+ - " *.x"
11+ - " main"
12+
13+ jobs :
14+ coding-standards :
15+ name : " Coding Standards"
16+ uses : " doctrine/.github/.github/workflows/coding-standards.yml@1.3.0"
17+ with :
18+ php-version : ' 8.0'
19+ composer-options : ' --prefer-dist --ignore-platform-req=php'
20+
Original file line number Diff line number Diff line change 1+ name : PHP Composer
2+
3+ on :
4+ push :
5+ branches : [ main ]
6+ pull_request :
7+ branches : [ main ]
8+
9+ jobs :
10+ build :
11+
12+ runs-on : ubuntu-latest
13+
14+ steps :
15+ - uses : actions/checkout@v2
16+
17+ - name : Validate composer.json and composer.lock
18+ run : composer validate --strict
19+
20+ - name : Cache Composer packages
21+ id : composer-cache
22+ uses : actions/cache@v2
23+ with :
24+ path : vendor
25+ key : ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
26+ restore-keys : |
27+ ${{ runner.os }}-php-
28+
29+ - name : Install dependencies
30+ run : composer install --prefer-dist --no-progress
31+
32+ # Add a test script to composer.json, for instance: "test": "vendor/bin/phpunit"
33+ # Docs: https://getcomposer.org/doc/articles/scripts.md
34+
35+ # - name: Run test suite
36+ # run: composer run-script test
You can’t perform that action at this time.
0 commit comments