diff --git a/.dependabot/config.yml b/.dependabot/config.yml index a9507678..8f73621a 100644 --- a/.dependabot/config.yml +++ b/.dependabot/config.yml @@ -10,19 +10,6 @@ update_configs: default_reviewers: - "localheinz" directory: "/" - package_manager: "github_actions" - update_schedule: "daily" - - - automerged_updates: - - match: - dependency_type: "development" - default_assignees: - - "localheinz" - default_labels: - - "dependency" - default_reviewers: - - "localheinz" - directory: "/" ignored_updates: - match: dependency_name: "nikic/php-parser" @@ -31,5 +18,5 @@ update_configs: - match: dependency_name: "zendframework/zend-servicemanager" package_manager: "php:composer" - update_schedule: "daily" + update_schedule: "live" version_requirement_updates: "increase_versions" diff --git a/.github/settings.yml b/.github/settings.yml index 770d6ba8..ecf5b5f3 100644 --- a/.github/settings.yml +++ b/.github/settings.yml @@ -10,9 +10,9 @@ branches: required_approving_review_count: 1 required_status_checks: contexts: - - "Coding Standards (7.1)" - - "Dependency Analysis (7.4)" - - "Static Code Analysis (7.4)" + - "Coding Standards (7.1, locked)" + - "Dependency Analysis (7.4, locked)" + - "Static Code Analysis (7.4, locked)" - "Tests (7.1, lowest)" - "Tests (7.1, locked)" - "Tests (7.1, highest)" @@ -25,8 +25,8 @@ branches: - "Tests (7.4, lowest)" - "Tests (7.4, locked)" - "Tests (7.4, highest)" - - "Code Coverage (7.4)" - - "Mutation Tests (7.4)" + - "Code Coverage (7.4, locked)" + - "Mutation Tests (7.4, locked)" - "codecov/patch" - "codecov/project" strict: false diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 6a32acbe..d5b2bdef 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -21,12 +21,15 @@ jobs: php-version: - 7.1 + dependencies: + - locked + steps: - name: "Checkout" - uses: actions/checkout@v1 + uses: actions/checkout@v2.0.0 - name: "Install PHP with extensions" - uses: shivammathur/setup-php@v1 + uses: shivammathur/setup-php@1.6.1 with: coverage: none extensions: "mbstring" @@ -36,29 +39,29 @@ jobs: run: composer validate --strict - name: "Cache dependencies installed with composer" - uses: actions/cache@v1 + 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 - - name: "Run localheinz/composer-normalize" + - name: "Run ergebnis/composer-normalize" run: composer normalize --dry-run - name: "Create cache directory for friendsofphp/php-cs-fixer" run: mkdir -p .build/php-cs-fixer - name: "Cache cache directory for friendsofphp/php-cs-fixer" - uses: actions/cache@v1 + uses: actions/cache@v1.0.3 with: path: .build/php-cs-fixer - key: php${{ matrix.php-version }}-php-cs-fixer-${{ hashFiles('**/composer.lock') }} + key: php-${{ matrix.php-version }}-php-cs-fixer-${{ hashFiles('**/composer.lock') }} restore-keys: | - php${{ matrix.php-version }}-php-cs-fixer- + php-${{ matrix.php-version }}-php-cs-fixer- - name: "Run friendsofphp/php-cs-fixer" run: vendor/bin/php-cs-fixer fix --config=.php_cs --diff --diff-format=udiff --dry-run --verbose @@ -76,24 +79,27 @@ jobs: php-version: - 7.4 + dependencies: + - locked + steps: - name: "Checkout" - uses: actions/checkout@v1 + uses: actions/checkout@v2.0.0 - name: "Install PHP with extensions" - uses: shivammathur/setup-php@v1 + uses: shivammathur/setup-php@1.6.1 with: coverage: none extensions: "mbstring" php-version: ${{ matrix.php-version }} - name: "Cache dependencies installed with composer" - uses: actions/cache@v1 + 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 @@ -111,19 +117,22 @@ jobs: php-version: - 7.4 + dependencies: + - locked + steps: - name: "Checkout" - uses: actions/checkout@v1 + uses: actions/checkout@v2.0.0 - name: "Install PHP with extensions" - uses: shivammathur/setup-php@v1 + uses: shivammathur/setup-php@1.6.1 with: coverage: none extensions: "mbstring" php-version: ${{ matrix.php-version }} - name: "Cache dependencies installed with composer" - uses: actions/cache@v1 + uses: actions/cache@v1.0.3 with: path: ~/.composer/cache key: ${{ matrix.php-version }}-composer-locked-${{ hashFiles('**/composer.lock') }} @@ -156,22 +165,22 @@ jobs: steps: - name: "Checkout" - uses: actions/checkout@v1 + uses: actions/checkout@v2.0.0 - name: "Install PHP with extensions" - uses: shivammathur/setup-php@v1 + uses: shivammathur/setup-php@1.6.1 with: coverage: none extensions: "mbstring" php-version: ${{ matrix.php-version }} - name: "Cache dependencies installed with composer" - uses: actions/cache@v1 + uses: actions/cache@v1.0.3 with: path: ~/.composer/cache - key: php${{ matrix.php-version }}-composer-${{ matrix.dependencies }}-${{ hashFiles('**/composer.lock') }} + key: php-${{ matrix.php-version }}-composer-${{ matrix.dependencies }}-${{ hashFiles('**/composer.lock') }} restore-keys: | - php${{ matrix.php-version }}-composer-${{ matrix.dependencies }}- + php-${{ matrix.php-version }}-composer-${{ matrix.dependencies }}- - name: "Install lowest dependencies with composer" if: matrix.dependencies == 'lowest' @@ -204,24 +213,27 @@ jobs: php-version: - 7.4 + dependencies: + - locked + steps: - name: "Checkout" - uses: actions/checkout@v1 + uses: actions/checkout@v2.0.0 - name: "Install PHP with extensions" - uses: shivammathur/setup-php@v1 + uses: shivammathur/setup-php@1.6.1 with: coverage: xdebug extensions: "mbstring" php-version: ${{ matrix.php-version }} - name: "Cache dependencies installed with composer" - uses: actions/cache@v1 + 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 @@ -247,24 +259,27 @@ jobs: php-version: - 7.4 + dependencies: + - locked + steps: - name: "Checkout" - uses: actions/checkout@v1 + uses: actions/checkout@v2.0.0 - name: "Install PHP with extensions" - uses: shivammathur/setup-php@v1 + uses: shivammathur/setup-php@1.6.1 with: coverage: xdebug extensions: "mbstring" php-version: ${{ matrix.php-version }} - name: "Cache dependencies installed with composer" - uses: actions/cache@v1 + 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