-
-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c9fc06d
commit d67fe82
Showing
4 changed files
with
35 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,29 +22,29 @@ jobs: | |
uses: actions/[email protected] | ||
|
||
- name: "Disable Xdebug" | ||
run: php7.1 --ini | grep xdebug | sed 's/,$//' | xargs sudo rm | ||
run: php7.2 --ini | grep xdebug | sed 's/,$//' | xargs sudo rm | ||
|
||
- name: "Validate composer.json and composer.lock" | ||
run: php7.1 $(which composer) validate --strict | ||
run: php7.2 $(which composer) validate --strict | ||
|
||
- name: "Cache dependencies installed with composer" | ||
uses: actions/[email protected] | ||
with: | ||
path: ~/.composer/cache | ||
key: php7.1-composer-locked-${{ hashFiles('**/composer.lock') }} | ||
key: php7.2-composer-locked-${{ hashFiles('**/composer.lock') }} | ||
restore-keys: | | ||
php7.1-composer-locked- | ||
php7.2-composer-locked- | ||
- name: "Install locked dependencies with composer" | ||
run: php7.1 $(which composer) install --no-interaction --no-progress --no-suggest | ||
run: php7.2 $(which composer) install --no-interaction --no-progress --no-suggest | ||
|
||
- name: "Run localheinz/composer-normalize" | ||
uses: docker://localheinz/composer-normalize-action:0.5.2 | ||
with: | ||
args: --dry-run | ||
|
||
- name: "Run friendsofphp/php-cs-fixer" | ||
run: php7.1 vendor/bin/php-cs-fixer fix --config=.php_cs --diff --diff-format=udiff --using-cache=no --verbose | ||
run: php7.2 vendor/bin/php-cs-fixer fix --config=.php_cs --diff --diff-format=udiff --using-cache=no --verbose | ||
|
||
static-code-analysis: | ||
name: "Static Code Analysis" | ||
|
@@ -80,7 +80,6 @@ jobs: | |
strategy: | ||
matrix: | ||
php-binary: | ||
- php7.1 | ||
- php7.2 | ||
- php7.3 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.