From e595c73cc37ee74d9008d7484baa8975a781ed6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C5=A0tancl?= Date: Tue, 12 Mar 2024 13:08:40 +0100 Subject: [PATCH] add setup-php to all CI jobs --- .github/workflows/ci.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 887bfc0..8172838 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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