From f58aa0c81896e6936020d97ea8fa4726017e2f82 Mon Sep 17 00:00:00 2001 From: Torsten Dittmann Date: Tue, 31 May 2022 17:26:45 +0200 Subject: [PATCH] Update linter.yml --- .github/workflows/linter.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index dcfd27f2f6..e5e191592c 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -19,13 +19,16 @@ jobs: - run: git checkout HEAD^2 if: ${{ github.event_name == 'pull_request' }} + - name: Setup PHP + uses: shivammathur/setup-php@v2 + with: + php-version: '8.0' + - 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