diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e17e5507..456f2937 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -3,17 +3,20 @@ name: "Tests" on: [pull_request] jobs: lint: - name: Tests + name: Tests ${{ matrix.php-versions }} runs-on: ubuntu-latest + strategy: + matrix: + php-versions: ['8.1', '8.3', 'nightly'] steps: - name: Checkout repository uses: actions/checkout@v3 - - name: Setup PHP + - name: Setup PHP ${{ matrix.php-versions }} uses: shivammathur/setup-php@v2 with: - php-version: '8.1' + php-version: ${{ matrix.php-versions }} - name: Validate composer.json and composer.lock run: composer validate --strict