diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 963296d..297cebb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,7 +12,7 @@ jobs: php-versions: ['5.3', '5.4', '5.5', '5.6', '7.0'] steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup PHP uses: shivammathur/setup-php@v2 @@ -26,7 +26,7 @@ jobs: run: composer self-update --1 - name: Install Composer dependencies - uses: "ramsey/composer-install@v2" + uses: "ramsey/composer-install@v3" - name: PHPUnit tests run: vendor/bin/phpunit @@ -37,13 +37,13 @@ jobs: strategy: matrix: operating-system: ['ubuntu-latest'] - php-versions: ['7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2'] + php-versions: ['7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4'] - continue-on-error: ${{ matrix.php-versions == '8.2' }} + continue-on-error: ${{ matrix.php-versions == '8.4' }} steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup PHP uses: shivammathur/setup-php@v2 @@ -56,13 +56,13 @@ jobs: - name: Modernize dependencies run: composer require --dev --no-update "phpunit/phpunit:>=4" - - name: Install Composer dependencies (PHP < 8.2) - if: ${{ matrix.php-versions != '8.2' }} - uses: "ramsey/composer-install@v2" + - name: Install Composer dependencies (PHP < 8.4) + if: ${{ matrix.php-versions != '8.4' }} + uses: "ramsey/composer-install@v3" - - name: Install Composer dependencies - ignore-platform-reqs (PHP 8.2) - if: ${{ matrix.php-versions == '8.2' }} - uses: "ramsey/composer-install@v2" + - name: Install Composer dependencies - ignore-platform-reqs (PHP 8.4) + if: ${{ matrix.php-versions == '8.4' }} + uses: "ramsey/composer-install@v3" with: composer-options: --ignore-platform-reqs diff --git a/.github/workflows/psalm.yml b/.github/workflows/psalm.yml index 8493312..85725b5 100644 --- a/.github/workflows/psalm.yml +++ b/.github/workflows/psalm.yml @@ -12,7 +12,7 @@ jobs: php-versions: ['7.4'] steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup PHP uses: shivammathur/setup-php@v2 @@ -22,7 +22,7 @@ jobs: coverage: none - name: Install Composer dependencies - uses: "ramsey/composer-install@v2" + uses: "ramsey/composer-install@v3" with: composer-options: --no-dev