PHP Classes

File: .github/workflows/ci.yml

Recommend this page to a friend!
  Classes of Scott Arciszewski   PHP Sodium Compat   .github/workflows/ci.yml   Download  
File: .github/workflows/ci.yml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP Sodium Compat
Cryptographic functions of libsodium in pure PHP
Author: By
Last change: Use newer checkouts version for GHA
Set minimum PHP version to 8.1 for v2.x
Remove support for PHP < 7.2, 32-bit ints
Add compatibility tests for PHP 8.4+
Temporarily disable PHP 8.4 testing

I don't feel like troubleshooting GHA tonight
Don't error on PHP 8.4 before it's even out
Update actions/checkout to v4
GH Actions: update PHP versions in workflows

PHP 8.2 has long been released and PHP 8.3 is nearing the first RC, so I propose adding PHP 8.3 to the matrix and no longer allowing PHP 8.2 to fail the build.

Additional notes:
* As the build against PHP 8.3 passes, I've not added a `continue-on-error` allowance for PHP 8.3.
* As all dependencies install okay on PHP 8.3, I've removed the toggle to `composer install` with `--ignore-platform-reqs`.
Date: 1 month ago
Size: 771 bytes
 

Contents

Class file image Download
name: CI on: [push] jobs: moderate-modern: name: PHP ${{ matrix.php-versions }} Test on ${{ matrix.operating-system }} runs-on: ${{ matrix.operating-system }} strategy: matrix: operating-system: ['ubuntu-latest'] php-versions: ['8.1', '8.2', '8.3', '8.4'] steps: - name: Checkout uses: actions/checkout@v4 - name: Setup PHP uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php-versions }} extensions: mbstring, intl, sodium ini-values: error_reporting=-1, display_errors=On coverage: none - name: Install Composer dependencies uses: "ramsey/composer-install@v2" - name: PHPUnit tests run: vendor/bin/phpunit