Skip to content

Commit

Permalink
Update Static Analysis to use the same strategy as for the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ndousson committed Dec 22, 2023
1 parent 7513b4f commit de9cfd0
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,16 +35,25 @@ jobs:
static-analysis:
runs-on: ubuntu-latest
name: Static analysis
strategy:
fail-fast: false
matrix:
include:
- php: 8.1
composer_update_flags: --prefer-lowest
- php: 8.1
- php: 8.2

steps:
- uses: actions/checkout@v2

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: "8.2"
php-version: "${{ matrix.php }}"

- name: Composer dependencies
run: make vendor
run: COMPOSER_UPDATE_FLAGS+="${{matrix.composer_update_flags}}" make vendor

- name: Composer validate
run: make composer-validate
Expand Down

0 comments on commit de9cfd0

Please sign in to comment.