Skip to content

Commit

Permalink
Merge pull request #17 from NaokiTsuchiya/fix-ci
Browse files Browse the repository at this point in the history
Fix CI
  • Loading branch information
koriym authored Nov 23, 2024
2 parents 5c34416 + 67d2fe9 commit af24fd3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
strategy:
matrix:
php: [8.0, 8.1, 8.2, 8.3, 8.4]
laravel: [8, 9, 10, 11]
laravel: [8.83, 9, 10, 11]
dependency: [lowest, highest]
os: [ubuntu-latest]
exclude:
Expand Down Expand Up @@ -52,16 +52,16 @@ jobs:
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
restore-keys: ${{ runner.os }}-composer-

- name: Set Laravel
run: composer require --dev laravel/framework:^${{ matrix.laravel }} --no-interaction --no-update

- name: Handle lowest dependencies update
if: contains(matrix.dependency, 'lowest')
run: echo COMPOSER_UPDATE_FLAGS=$COMPOSER_UPDATE_FLAGS --prefer-lowest >> $GITHUB_ENV

- name: Update dependencies
run: composer update ${{ env.COMPOSER_UPDATE_FLAGS }} ${{ env.COMPOSER_FLAGS }}

- name: Update laravel
run: composer update ${{ env.COMPOSER_UPDATE_FLAGS }} ${{ env.COMPOSER_FLAGS }} -W laravel/framework:^${{ matrix.laravel }}

- name: Run test suite
run: ./vendor/bin/phpunit --coverage-clover=coverage.xml

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
},
"require-dev": {
"laravel/framework": "^8.83 || ^9.8 || ^10.0 || ^11.0",
"phpunit/phpunit": "^9.5"
"phpunit/phpunit": "^9.5.10"
},
"suggest": {
"ext-apcu": "Needed to use ApcuCacheProvider"
Expand Down

0 comments on commit af24fd3

Please sign in to comment.