diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 51c12cb..0c77bde 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -19,10 +19,10 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - php: [8.0, 8.1, 8.2] + php: [8.1, 8.2, 8.3] os: [ubuntu-latest, macos-latest, windows-latest] dependencies: [ 'lowest', 'highest' ] - continue-on-error: ${{ matrix.os == 'windows-latest' && matrix.php == '8.2' }} + continue-on-error: ${{ matrix.os == 'windows-latest' && contains(fromJson('["8.2", "8.3"]'), matrix.php) }} name: PHP ${{ matrix.php }} - OS ${{ matrix.os }} - Dependencies ${{ matrix.dependencies }} steps: - uses: actions/checkout@v3 @@ -34,10 +34,10 @@ jobs: tools: composer:v2 - name: Install unrar on Ubuntu with PHP 8.1 & 8.2 run: sudo apt install unrar - if: ${{ matrix.os == 'ubuntu-latest' && contains(fromJson('["8.1", "8.2"]'), matrix.php) }} + if: ${{ matrix.os == 'ubuntu-latest' }} - name: Install unrar on MacOS with PHP 8.1 & 8.2 run: brew install rar - if: ${{ matrix.os == 'macos-latest' && contains(fromJson('["8.1", "8.2"]'), matrix.php) }} + if: ${{ matrix.os == 'macos-latest' }} - name: Validate composer.json run: composer validate - uses: ramsey/composer-install@v2