Skip to content

Commit 0575c35

Browse files
authored
Merge pull request #7 from assoconnect/upgrade-analysis-tools
Upgrade analysis tools to latest on lowest dependency runs
2 parents dcd9d97 + 7ea3843 commit 0575c35

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Build
22

33
on:
44
push:
5-
branches: [ master ]
5+
branches: [ main ]
66
pull_request:
77
types: [opened, synchronize, reopened]
88

@@ -29,6 +29,10 @@ jobs:
2929
with:
3030
dependency-versions: ${{ matrix.dependency-versions }}
3131

32+
- name: Upgrade analysis tools to latest
33+
if: ${{ matrix.dependency-versions == 'lowest' }}
34+
run: composer update phpstan/phpstan rector/rector phpunit/phpunit squizlabs/php_codesniffer --with-all-dependencies --no-interaction
35+
3236
- run: vendor/bin/phpcs
3337
if: ${{ failure() || success() }}
3438

0 commit comments

Comments
 (0)