Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
webda2l committed Jan 3, 2024
1 parent 794180a commit 8633590
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on: ["push", "pull_request"]

env:
COMPOSER_ALLOW_SUPERUSER: '1'
SYMFONY_PHPUNIT_VERSION: 9.6
SYMFONY_DEPRECATIONS_HELPER: max[self]=0

jobs:
Expand All @@ -28,7 +27,7 @@ jobs:
- uses: actions/cache@v3
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-composer-8.3-highest-${{ hashFiles('**/composer.lock') }}
key: ${{ runner.os }}-composer-8.3-highest-${{ hashFiles('**/composer.json') }}
restore-keys: |
${{ runner.os }}-composer-8.3-highest
- name: Validate Composer
Expand Down Expand Up @@ -59,11 +58,11 @@ jobs:
- 'highest'
include:
- php: '8.1'
phpunit-version: 9.6
phpunit-version: 10
- php: '8.2'
phpunit-version: 9.6
phpunit-version: 10
- php: '8.3'
phpunit-version: 9.6
phpunit-version: 10
fail-fast: false
steps:
- name: Checkout
Expand All @@ -77,7 +76,7 @@ jobs:
- uses: actions/cache@v3
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-composer-${{ matrix.php }}-${{ matrix.dependencies }}-${{ hashFiles('**/composer.lock') }}
key: ${{ runner.os }}-composer-${{ matrix.php }}-${{ matrix.dependencies }}-${{ hashFiles('**/composer.json') }}
restore-keys: |
${{ runner.os }}-composer-${{ matrix.php }}-${{ matrix.dependencies }}
- name: Install lowest dependencies with Composer
Expand Down Expand Up @@ -116,7 +115,7 @@ jobs:
- uses: actions/cache@v3
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-composer-8.3-highest-${{ hashFiles('**/composer.lock') }}
key: ${{ runner.os }}-composer-8.3-highest-${{ hashFiles('**/composer.json') }}
restore-keys: |
${{ runner.os }}-composer-8.3-highest
- name: Install highest dependencies with Composer
Expand Down
1 change: 0 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
"friendsofphp/php-cs-fixer": "^3.45",
"kubawerlos/php-cs-fixer-custom-fixers": "^3.18",
"phpstan/phpstan": "^1.10",
"phpunit/phpunit": "^9.6",
"rector/rector": "^0.18",
"symfony/cache": "^5.4.30|^6.3.10|^7.0",
"symfony/phpunit-bridge": "^5.4.30|^6.3.10|^7.0",
Expand Down

0 comments on commit 8633590

Please sign in to comment.