Skip to content

Commit

Permalink
Merge pull request #279 from ergebnis/feature/synchronize
Browse files Browse the repository at this point in the history
Enhancement: Synchronize with ergebnis/php-library-template
  • Loading branch information
localheinz authored Dec 19, 2019
2 parents 73cf9c6 + 12be78e commit 7ce899a
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 18 deletions.
9 changes: 1 addition & 8 deletions .dependabot/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,7 @@
version: 1

update_configs:
- automerged_updates:
- match:
dependency_type: "development"
default_assignees:
- default_assignees:
- "localheinz"
default_labels:
- "dependency"
Expand All @@ -18,10 +15,6 @@ update_configs:
dependency_name: "composer-plugin-api"
- match:
dependency_name: "composer/composer"
- match:
dependency_name: "localheinz/composer-json-normalizer"
- match:
dependency_name: "localheinz/json-normalizer"
package_manager: "php:composer"
update_schedule: "live"
version_requirement_updates: "increase_versions"
8 changes: 4 additions & 4 deletions .github/settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ branches:
required_approving_review_count: 1
required_status_checks:
contexts:
- "Coding Standards (7.2)"
- "Dependency Analysis (7.4)"
- "Static Code Analysis (7.4)"
- "Coding Standards (7.2, locked)"
- "Dependency Analysis (7.4, locked)"
- "Static Code Analysis (7.4, locked)"
- "Tests (7.2, lowest)"
- "Tests (7.2, locked)"
- "Tests (7.2, highest)"
Expand All @@ -22,7 +22,7 @@ branches:
- "Tests (7.4, lowest)"
- "Tests (7.4, locked)"
- "Tests (7.4, highest)"
- "Code Coverage (7.4)"
- "Code Coverage (7.4, locked)"
- "codecov/patch"
- "codecov/project"
strict: false
Expand Down
24 changes: 18 additions & 6 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ jobs:
php-version:
- 7.2

dependencies:
- locked

steps:
- name: "Checkout"
uses: actions/checkout@v2.0.0
Expand All @@ -39,9 +42,9 @@ jobs:
uses: actions/cache@v1.0.3
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
Expand Down Expand Up @@ -75,6 +78,9 @@ jobs:
php-version:
- 7.4

dependencies:
- locked

steps:
- name: "Checkout"
uses: actions/checkout@v2.0.0
Expand All @@ -90,9 +96,9 @@ jobs:
uses: actions/cache@v1.0.3
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
Expand All @@ -112,6 +118,9 @@ jobs:
php-version:
- 7.4

dependencies:
- locked

steps:
- name: "Checkout"
uses: actions/checkout@v2.0.0
Expand Down Expand Up @@ -204,6 +213,9 @@ jobs:
php-version:
- 7.4

dependencies:
- locked

steps:
- name: "Checkout"
uses: actions/checkout@v2.0.0
Expand All @@ -219,9 +231,9 @@ jobs:
uses: actions/cache@v1.0.3
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
Expand Down

0 comments on commit 7ce899a

Please sign in to comment.