From 189a119533746b6d0c8c05eb96d358aec51d1d56 Mon Sep 17 00:00:00 2001 From: "tien.xuan.vo" Date: Sat, 16 Mar 2024 08:31:37 +0700 Subject: [PATCH] deps: Upgrade php --- .github/workflows/main.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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