Skip to content

Commit

Permalink
add setup-php to ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
stancl committed Mar 12, 2024
1 parent 0e4ae22 commit b9b9d8c
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,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 require "laravel/framework:^${{matrix.laravel}}.0"
- name: Run tests
Expand All @@ -25,6 +31,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
Expand Down

0 comments on commit b9b9d8c

Please sign in to comment.