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 40
40
- name : " Run PHP-CS-Fixer on tests/"
41
41
run : " vendor/bin/php-cs-fixer fix tests/ --dry-run --stop-on-violation --format=checkstyle | cs2pr"
42
42
43
+ require-checker :
44
+ name : " Composer require checker"
45
+ runs-on : " ubuntu-latest"
46
+
47
+ strategy :
48
+ matrix :
49
+ php-version :
50
+ - " 7.4"
51
+
52
+ steps :
53
+ - name : " Checkout"
54
+ uses : " actions/checkout@v2"
55
+
56
+ - name : " Install PHP"
57
+ uses : " shivammathur/setup-php@v2"
58
+ with :
59
+ coverage : " none"
60
+ php-version : " ${{ matrix.php-version }}"
61
+ tools : " cs2pr"
62
+
63
+ - name : " Cache dependencies installed with composer"
64
+ uses : " actions/cache@v1"
65
+ with :
66
+ path : " ~/.composer/cache"
67
+ key : " php-${{ matrix.php-version }}-composer-locked-${{ hashFiles('composer.lock') }}"
68
+ restore-keys : " php-${{ matrix.php-version }}-composer-locked-"
69
+
70
+ - name : " Install dependencies with composer"
71
+ run : " composer install --no-interaction --no-progress --no-suggest"
72
+
73
+ - name : " Run require-checker"
74
+ run : " composer require-checker"
75
+
43
76
phpunit-mysql57 :
44
77
name : " PHPUnit on MySQL 5.7 and PhpStan"
45
78
runs-on : " ubuntu-latest"
You can’t perform that action at this time.
0 commit comments