From 2d58f48b7281318f7725bb98b7b4dfc82c29bac5 Mon Sep 17 00:00:00 2001 From: Torsten Dittmann Date: Tue, 31 May 2022 17:22:40 +0200 Subject: [PATCH] ci: fix linter --- .github/workflows/linter.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index 90931e53a7..dcfd27f2f6 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -19,9 +19,13 @@ jobs: - run: git checkout HEAD^2 if: ${{ github.event_name == 'pull_request' }} - - name: Install Dependencies - uses: php-actions/composer@v6 - run: composer install --ignore-platform-reqs --no-cache - + - name: Install dependencies + uses: php-actions/composer@v7 + with: + php_version: '8.0' + args: --profile --ignore-platform-reqs - name: Run Linter + uses: shivammathur/setup-php@v2 + with: + php-version: '8.0' run: ./vendor/bin/phpcs -p || true