Skip to content

Commit

Permalink
Increase minimum PHP version to 8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
paragonie-security committed Jun 2, 2022
1 parent b75042c commit 7d1bfa4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 29 deletions.
27 changes: 1 addition & 26 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,38 +3,13 @@ name: CI
on: [push]

jobs:
moderate:
name: PHP ${{ matrix.php-versions }} Test on ${{ matrix.operating-system }}
runs-on: ${{ matrix.operating-system }}
strategy:
matrix:
operating-system: ['ubuntu-latest']
php-versions: ['7.1', '7.2', '7.3']
phpunit-versions: ['latest']
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
extensions: gmp, mbstring, intl, sodium
ini-values: max_execution_time=180

- name: Install dependencies
run: composer install

- name: Test Suite
run: composer test

modern:
name: PHP ${{ matrix.php-versions }} Test on ${{ matrix.operating-system }}
runs-on: ${{ matrix.operating-system }}
strategy:
matrix:
operating-system: ['ubuntu-latest']
php-versions: ['7.4', '8.0', '8.1']
php-versions: ['8.1']
phpunit-versions: ['latest']
steps:
- name: Checkout
Expand Down
5 changes: 2 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,10 @@
"ext-gmp": "*",
"ext-json": "*",
"ext-openssl": "*",
"php": "^7.1|^8",
"php": "^8.1",
"paragonie/constant_time_encoding": "^2",
"paragonie/easy-ecc": "^1",
"paragonie/sodium_compat": "^1.16",
"phpseclib/phpseclib": "^2"
"paragonie/sodium_compat": "^1.17"
},
"require-dev": {
"phpunit/phpunit": "^6|^7|^8|^9",
Expand Down

0 comments on commit 7d1bfa4

Please sign in to comment.