Skip to content

Commit

Permalink
Merge pull request #23 from stof/update_ci
Browse files Browse the repository at this point in the history
Update the CI setup
  • Loading branch information
stof authored Jan 16, 2024
2 parents c79eb00 + 3c9facd commit b4094e8
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,22 @@ jobs:
name: Check composer.json
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: shivammathur/setup-php@v2
with:
coverage: none
php-version: '8.0'
php-version: '8.3'
- run: composer validate --strict --no-check-lock

static_analysis:
name: Static analysis
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: shivammathur/setup-php@v2
with:
coverage: none
php-version: '8.0'
php-version: '8.3'
- name: Install dependencies
run: composer update --ansi --no-progress --prefer-dist --no-interaction
- run: vendor/bin/phpstan analyze
Expand All @@ -42,7 +42,7 @@ jobs:
name_suffix: [ '' ]
composer_flags: [ '' ]
include:
- php: '8.0'
- php: '8.3'
min_stability: 'dev'
name_suffix: ' (dev deps)'
- php: '7.4'
Expand All @@ -51,11 +51,12 @@ jobs:
composer_flags: '--prefer-lowest'

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: shivammathur/setup-php@v2
with:
coverage: "none"
php-version: "${{ matrix.php }}"
ini-file: development

- name: Configure stability
if: "matrix.min_stability != ''"
Expand Down

0 comments on commit b4094e8

Please sign in to comment.