diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index aab6f82..dacd9a2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -2,7 +2,7 @@ name: Build on: push: - branches: [ master ] + branches: [ main ] pull_request: types: [opened, synchronize, reopened] @@ -29,6 +29,10 @@ jobs: with: dependency-versions: ${{ matrix.dependency-versions }} + - name: Upgrade analysis tools to latest + if: ${{ matrix.dependency-versions == 'lowest' }} + run: composer update phpstan/phpstan rector/rector phpunit/phpunit squizlabs/php_codesniffer --with-all-dependencies --no-interaction + - run: vendor/bin/phpcs if: ${{ failure() || success() }}