Skip to content

Commit b9b9d8c

Browse files
committed
add setup-php to ci.yml
1 parent 0e4ae22 commit b9b9d8c

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/ci.yml

+12
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@ jobs:
1515

1616
steps:
1717
- uses: actions/checkout@v2
18+
- name: Setup PHP
19+
uses: shivammathur/setup-php@v2
20+
with:
21+
php-version: 8.2
22+
tools: composer:v2
23+
coverage: none
1824
- name: Install composer dependencies
1925
run: composer require "laravel/framework:^${{matrix.laravel}}.0"
2026
- name: Run tests
@@ -25,6 +31,12 @@ jobs:
2531
runs-on: ubuntu-latest
2632
steps:
2733
- uses: actions/checkout@v2
34+
- name: Setup PHP
35+
uses: shivammathur/setup-php@v2
36+
with:
37+
php-version: 8.2
38+
tools: composer:v2
39+
coverage: none
2840
- name: Install php-cs-fixer
2941
run: composer global require friendsofphp/php-cs-fixer
3042
- name: Run php-cs-fixer

0 commit comments

Comments
 (0)