mirror of
https://github.com/archtechx/money.git
synced 2025-12-12 11:24:03 +00:00
Add setup-php step
This commit is contained in:
parent
43d4e70199
commit
30a70c9ff9
1 changed files with 9 additions and 5 deletions
14
.github/workflows/ci.yml
vendored
14
.github/workflows/ci.yml
vendored
|
|
@ -23,11 +23,15 @@ jobs:
|
||||||
php: 8.1
|
php: 8.1
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- name: Setup PHP
|
||||||
- name: Install composer dependencies
|
uses: shivammathur/setup-php@v2
|
||||||
run: composer require "illuminate/support:^${{ matrix.laravel }}.0"
|
with:
|
||||||
- name: Run tests
|
php-version: '${{ matrix.php }}'
|
||||||
run: vendor/bin/pest
|
- name: Install composer dependencies
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
run: composer require "illuminate/support:^${{ matrix.laravel }}.0"
|
||||||
|
- name: Run tests
|
||||||
|
run: vendor/bin/pest
|
||||||
|
|
||||||
phpstan:
|
phpstan:
|
||||||
name: Static analysis (PHPStan)
|
name: Static analysis (PHPStan)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue