diff --git a/.github/workflows/phpstan.yml b/.github/workflows/phpstan.yml index 08980c0c..40f3cb95 100644 --- a/.github/workflows/phpstan.yml +++ b/.github/workflows/phpstan.yml @@ -12,11 +12,17 @@ env: COMPOSER_FLAGS: "--ansi --no-interaction --no-progress --prefer-dist" jobs: - tests: + phpstan: name: "PHPStan" runs-on: ubuntu-latest + strategy: + matrix: + php-version: + - "7.2" + - "latest" + steps: - name: "Checkout" uses: "actions/checkout@v4" @@ -24,10 +30,10 @@ jobs: - name: "Install PHP" uses: "shivammathur/setup-php@v2" with: - coverage: "none" + php-version: "${{ matrix.php-version }}" extensions: "intl, zip" ini-values: "memory_limit=-1" - php-version: "7.2" + coverage: "none" - name: "Update dependencies" run: "composer update ${{ env.COMPOSER_FLAGS }}" diff --git a/CHANGELOG.md b/CHANGELOG.md index 82edeef2..d2eef081 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] +### Added +- Run PHPStan using the lowest and highest php version ([#811](https://github.com/jsonrainbow/json-schema/pull/811)) ## [6.3.1] - 2025-03-18 ### Fixed