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 84a1824 commit c5c1623
Showing 1 changed file with 6 additions and 7 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

0 comments on commit c5c1623

Please sign in to comment.