Skip to content

Commit

Permalink
Bumps monorepo-builder again to fix other issues with CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
Aidan Casey committed Jan 19, 2022
1 parent 9db4780 commit 29ddf17
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 3 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/monorepo-validate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: monorepo-validate

on:
push:
pull_request:

jobs:
run-validation:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Cache dependencies
uses: actions/cache@v2
with:
path: vendor
key: composer-${{ hashFiles('composer.lock') }}
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.0
extensions: mbstring, pdo, pdo_sqlite
coverage: none
- name: Install dependencies
run: composer install -n --prefer-dist
- name: Valdidate Dependencies are consistent
run: vendor/bin/monorepo-builder validate
2 changes: 0 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,5 @@ jobs:
run: |
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction --no-suggest
- name: Valdidate Dependencies are consistent
run: vendor/bin/monorepo-builder validate
- name: Execute tests
run: vendor/bin/phpunit --verbose
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"require-dev": {
"orchestra/testbench": "^6.2|^7.0",
"phpunit/phpunit": "^9.4",
"symplify/monorepo-builder": "^9.4.10"
"symplify/monorepo-builder": "^9.4.21"
},
"autoload": {
"psr-4": {
Expand Down

0 comments on commit 29ddf17

Please sign in to comment.