File tree Expand file tree Collapse file tree 1 file changed +51
-0
lines changed
Expand file tree Collapse file tree 1 file changed +51
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Checks
2+ on :
3+ pull_request :
4+ push :
5+ branches :
6+ - " master"
7+ - " rules-for-protected"
8+ jobs :
9+ checks :
10+ runs-on : ubuntu-latest
11+ strategy :
12+ fail-fast : false
13+ steps :
14+ -
15+ name : Checkout code
16+ uses : actions/checkout@v4
17+ -
18+ name : Setup PHP
19+ uses : shivammathur/setup-php@v2
20+ with :
21+ php-version : 8.3
22+ -
23+ name : Install dependencies
24+ run : composer install --no-progress --prefer-dist --no-interaction
25+
26+ -
27+ name : Run checks
28+ run : composer test
29+
30+ tests :
31+ runs-on : ubuntu-latest
32+ strategy :
33+ fail-fast : false
34+ matrix :
35+ php-version : ['8.2', '8.3', '8.4' ]
36+ dependency-version : [ prefer-lowest, prefer-stable ]
37+ steps :
38+ -
39+ name : Checkout code
40+ uses : actions/checkout@v4
41+ -
42+ name : Setup PHP
43+ uses : shivammathur/setup-php@v2
44+ with :
45+ php-version : ${{ matrix.php-version }}
46+ -
47+ name : Update dependencies
48+ run : composer update --no-progress --${{ matrix.dependency-version }} --prefer-dist --no-interaction
49+ -
50+ name : Run tests
51+ run : composer tests
You can’t perform that action at this time.
0 commit comments