Skip to content

Commit

Permalink
add setup-php to all ci jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
stancl committed Mar 29, 2024
1 parent 8afe6cb commit 934e987
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ jobs:

steps:
- uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.2'
- name: Install composer dependencies
run: composer install
- name: Run phpstan
Expand All @@ -45,6 +49,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.2'
- name: Install php-cs-fixer
run: composer global require friendsofphp/php-cs-fixer
- name: Run php-cs-fixer
Expand Down

0 comments on commit 934e987

Please sign in to comment.