mirror of
https://github.com/archtechx/laravel-seo.git
synced 2025-12-12 18:04:03 +00:00
add setup-php to all CI jobs
This commit is contained in:
parent
03cd4b0f8e
commit
e595c73cc3
1 changed files with 12 additions and 1 deletions
13
.github/workflows/ci.yml
vendored
13
.github/workflows/ci.yml
vendored
|
|
@ -21,7 +21,6 @@ jobs:
|
|||
php-version: 8.2
|
||||
tools: composer:v2
|
||||
coverage: none
|
||||
|
||||
- name: Install composer dependencies
|
||||
run: composer require "laravel/framework:^${{matrix.laravel}}.0"
|
||||
- name: Run tests
|
||||
|
|
@ -33,6 +32,12 @@ jobs:
|
|||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Setup PHP
|
||||
uses: shivammathur/setup-php@v2
|
||||
with:
|
||||
php-version: 8.2
|
||||
tools: composer:v2
|
||||
coverage: none
|
||||
- name: Install composer dependencies
|
||||
run: composer install
|
||||
- name: Run phpstan
|
||||
|
|
@ -43,6 +48,12 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Setup PHP
|
||||
uses: shivammathur/setup-php@v2
|
||||
with:
|
||||
php-version: 8.2
|
||||
tools: composer:v2
|
||||
coverage: none
|
||||
- name: Install php-cs-fixer
|
||||
run: composer global require friendsofphp/php-cs-fixer
|
||||
- name: Run php-cs-fixer
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue