diff --git a/.github/workflows/phpcs.yml b/.github/workflows/phpcs.yml index f11cd12103..12b280713e 100644 --- a/.github/workflows/phpcs.yml +++ b/.github/workflows/phpcs.yml @@ -22,13 +22,13 @@ jobs: name: PHPCS runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - name: Install dependencies - run: composer install --dev --prefer-dist --no-progress --no-suggest + - uses: actions/checkout@v4 - name: Setup PHP uses: shivammathur/setup-php@v2 with: php-version: '7.2' tools: cs2pr + - name: Install dependencies + run: composer install --dev --prefer-dist --no-progress --no-suggest - name: Run phpcs run: ./vendor/bin/phpcs -q --report=checkstyle | cs2pr