-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #192 from ergebnis/feature/synchronize
Enhancement: Synchronize with ergebnis/php-library-template
- Loading branch information
Showing
4 changed files
with
43 additions
and
25 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,12 +21,15 @@ jobs: | |
php-version: | ||
- 7.1 | ||
|
||
dependencies: | ||
- locked | ||
|
||
steps: | ||
- name: "Checkout" | ||
uses: actions/[email protected] | ||
|
||
- name: "Install PHP with extensions" | ||
uses: shivammathur/[email protected].0 | ||
uses: shivammathur/[email protected].1 | ||
with: | ||
coverage: none | ||
extensions: "mbstring" | ||
|
@@ -39,14 +42,14 @@ jobs: | |
uses: actions/[email protected] | ||
with: | ||
path: ~/.composer/cache | ||
key: php-${{ matrix.php-version }}-composer-locked-${{ hashFiles('**/composer.lock') }} | ||
key: php-${{ matrix.php-version }}-composer-${{ matrix.dependencies }}-${{ hashFiles('**/composer.lock') }} | ||
restore-keys: | | ||
php-${{ matrix.php-version }}-composer-locked- | ||
php-${{ matrix.php-version }}-composer-${{ matrix.dependencies }}- | ||
- name: "Install locked dependencies with composer" | ||
run: composer install --no-interaction --no-progress --no-suggest | ||
|
||
- name: "Run localheinz/composer-normalize" | ||
- name: "Run ergebnis/composer-normalize" | ||
uses: docker://localheinz/composer-normalize-action:0.5.2 | ||
with: | ||
args: --dry-run | ||
|
@@ -75,12 +78,15 @@ jobs: | |
php-version: | ||
- 7.4 | ||
|
||
dependencies: | ||
- locked | ||
|
||
steps: | ||
- name: "Checkout" | ||
uses: actions/[email protected] | ||
|
||
- name: "Install PHP with extensions" | ||
uses: shivammathur/[email protected].0 | ||
uses: shivammathur/[email protected].1 | ||
with: | ||
coverage: none | ||
extensions: "mbstring" | ||
|
@@ -90,15 +96,15 @@ jobs: | |
uses: actions/[email protected] | ||
with: | ||
path: ~/.composer/cache | ||
key: php-${{ matrix.php-version }}-composer-locked-${{ hashFiles('**/composer.lock') }} | ||
key: php-${{ matrix.php-version }}-composer-${{ matrix.dependencies }}-${{ hashFiles('**/composer.lock') }} | ||
restore-keys: | | ||
php-${{ matrix.php-version }}-composer-locked- | ||
php-${{ matrix.php-version }}-composer-${{ matrix.dependencies }}- | ||
- name: "Install locked dependencies with composer" | ||
run: composer install --no-interaction --no-progress --no-suggest | ||
|
||
- name: "Run maglnet/composer-require-checker" | ||
uses: docker://localheinz/composer-require-checker-action:1.1.1 | ||
uses: docker://webfactory/composer-require-checker:2.0.0 | ||
|
||
static-code-analysis: | ||
name: "Static Code Analysis" | ||
|
@@ -110,12 +116,15 @@ jobs: | |
php-version: | ||
- 7.4 | ||
|
||
dependencies: | ||
- locked | ||
|
||
steps: | ||
- name: "Checkout" | ||
uses: actions/[email protected] | ||
|
||
- name: "Install PHP with extensions" | ||
uses: shivammathur/[email protected].0 | ||
uses: shivammathur/[email protected].1 | ||
with: | ||
coverage: none | ||
extensions: "mbstring" | ||
|
@@ -158,7 +167,7 @@ jobs: | |
uses: actions/[email protected] | ||
|
||
- name: "Install PHP with extensions" | ||
uses: shivammathur/[email protected].0 | ||
uses: shivammathur/[email protected].1 | ||
with: | ||
coverage: none | ||
extensions: "mbstring" | ||
|
@@ -203,12 +212,15 @@ jobs: | |
php-version: | ||
- 7.4 | ||
|
||
dependencies: | ||
- locked | ||
|
||
steps: | ||
- name: "Checkout" | ||
uses: actions/[email protected] | ||
|
||
- name: "Install PHP with extensions" | ||
uses: shivammathur/[email protected].0 | ||
uses: shivammathur/[email protected].1 | ||
with: | ||
coverage: xdebug | ||
extensions: "mbstring" | ||
|
@@ -218,9 +230,9 @@ jobs: | |
uses: actions/[email protected] | ||
with: | ||
path: ~/.composer/cache | ||
key: php-${{ matrix.php-version }}-composer-locked-${{ hashFiles('**/composer.lock') }} | ||
key: php-${{ matrix.php-version }}-composer-${{ matrix.dependencies }}-${{ hashFiles('**/composer.lock') }} | ||
restore-keys: | | ||
php-${{ matrix.php-version }}-composer-locked- | ||
php-${{ matrix.php-version }}-composer-${{ matrix.dependencies }}- | ||
- name: "Install locked dependencies with composer" | ||
run: composer install --no-interaction --no-progress --no-suggest | ||
|
@@ -246,12 +258,15 @@ jobs: | |
php-version: | ||
- 7.4 | ||
|
||
dependencies: | ||
- locked | ||
|
||
steps: | ||
- name: "Checkout" | ||
uses: actions/[email protected] | ||
|
||
- name: "Install PHP with extensions" | ||
uses: shivammathur/[email protected].0 | ||
uses: shivammathur/[email protected].1 | ||
with: | ||
coverage: xdebug | ||
extensions: "mbstring" | ||
|
@@ -261,7 +276,7 @@ jobs: | |
uses: actions/[email protected] | ||
with: | ||
path: ~/.composer/cache | ||
key: php-${{ matrix.php-version }}-composer-locked-${{ hashFiles('**/composer.lock') }} | ||
key: php-${{ matrix.php-version }}-composer-${{ matrix.dependencies }}-${{ hashFiles('**/composer.lock') }} | ||
restore-keys: | | ||
php-${{ matrix.php-version }}-composer-locked- | ||
|
@@ -281,6 +296,9 @@ jobs: | |
php-version: | ||
- 7.4 | ||
|
||
dependencies: | ||
- locked | ||
|
||
steps: | ||
- name: "Checkout" | ||
uses: actions/[email protected] | ||
|
@@ -296,9 +314,9 @@ jobs: | |
uses: actions/[email protected] | ||
with: | ||
path: ~/.composer/cache | ||
key: php-${{ matrix.php-version }}-composer-locked-${{ hashFiles('**/composer.lock') }} | ||
key: php-${{ matrix.php-version }}-composer-${{ matrix.dependencies }}-${{ hashFiles('**/composer.lock') }} | ||
restore-keys: | | ||
php-${{ matrix.php-version }}-composer-locked- | ||
php-${{ matrix.php-version }}-composer-${{ matrix.dependencies }}- | ||
- name: "Install locked dependencies with composer" | ||
run: composer install --no-interaction --no-progress --no-suggest | ||
|
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