Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clone ignition repo for relative package #12

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 15 additions & 2 deletions .github/workflows/phpstan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,16 @@ jobs:
name: phpstan
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Checkout code
uses: actions/checkout@v2
with:
path: main

- name: Checkout ignition
uses: actions/checkout@v2
with:
repository: spatie/ignition
path: ignition

- name: Setup PHP
uses: shivammathur/setup-php@v2
Expand All @@ -26,6 +35,10 @@ jobs:

- name: Install composer dependencies
uses: ramsey/composer-install@v1
with:
working-directory: main

- name: Run PHPStan
run: ./vendor/bin/phpstan --error-format=github
run: |
cd main
./vendor/bin/phpstan --error-format=github
15 changes: 13 additions & 2 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:

strategy:
matrix:
php: [7.4, 8.0, 8.1]
php: [8.0, 8.1]
laravel: [8.*]
dependency-version: [prefer-lowest, prefer-stable]
os: [ubuntu-latest, windows-latest]
Expand All @@ -22,6 +22,14 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
path: main

- name: Checkout ignition
uses: actions/checkout@v2
with:
repository: spatie/ignition
path: ignition

- name: Setup PHP
uses: shivammathur/setup-php@v2
Expand All @@ -33,9 +41,12 @@ jobs:

- name: Install dependencies
run: |
cd main
composer require "laravel/framework:${{ matrix.laravel }}" --no-interaction --no-update
composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction --no-suggest

- name: Execute tests
run: vendor/bin/pest
run: |
cd main
vendor/bin/pest

22 changes: 11 additions & 11 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,25 +21,25 @@
"ext-curl": "*",
"ext-json": "*",
"ext-mbstring": "*",
"illuminate/support": "^8.44",
"monolog/monolog": "^2.0",
"illuminate/support": "^8.77",
"monolog/monolog": "^2.3",
"spatie/flare-client-php": "dev-main",
"spatie/ignition": "dev-main",
"spatie/laravel-package-tools": "^1.9",
"symfony/console": "^5.0",
"symfony/var-dumper": "^5.0"
"spatie/laravel-package-tools": "^1.10",
"symfony/console": "^5.4 | ^6.0",
"symfony/var-dumper": "^5.4 | ^6.0"
},
"require-dev": {
"filp/whoops": "^2.12",
"livewire/livewire": "^2.4",
"mockery/mockery": "^1.3",
"filp/whoops": "^2.14",
"livewire/livewire": "^2.8",
"mockery/mockery": "^1.4",
"nunomaduro/larastan": "^1.0",
"orchestra/testbench": "^5.0|^6.0",
"orchestra/testbench": "^5.0 | ^6.23",
"pestphp/pest": "^1.21",
"phpstan/extension-installer": "^1.1",
"phpstan/phpstan-deprecation-rules": "^1.0",
"phpstan/phpstan-phpunit": "^1.0",
"spatie/laravel-ray": "^1.18",
"pestphp/pest": "^1.20"
"spatie/laravel-ray": "^1.27"
},
"config": {
"sort-packages": true
Expand Down