From 308dc8ab6c60cfa3c4a07fafaad1106bc5548b57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Dillenbourg?= Date: Tue, 26 Sep 2023 20:59:07 +0200 Subject: [PATCH] Attempt to fix Action --- .github/workflows/php82.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/php82.yml b/.github/workflows/php82.yml index 2254bda..b6938b3 100644 --- a/.github/workflows/php82.yml +++ b/.github/workflows/php82.yml @@ -9,7 +9,7 @@ on: - "*" jobs: - php82: + checks: name: Check PHP 8.2 runs-on: ubuntu-latest @@ -17,11 +17,13 @@ jobs: - name: Checkout code uses: actions/checkout@v2 - - name: Install dependencies - uses: php-actions/composer@v5 + - name: Set up PHP 8.2 + uses: shivammathur/setup-php@v2 with: - php_version: 8.2 - args: --prefer-dist --ignore-platform-reqs + php-version: '8.2' + + - name: Install Dependencies + run: composer install --prefer-dist --ignore-platform-reqs --no-interaction - name: Check code styling run: composer ecs-check