Skip to content

Commit

Permalink
Update plugin dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
adrenth committed May 28, 2021
1 parent 3b9a1b7 commit 84de621
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
14 changes: 14 additions & 0 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,23 @@ jobs:

runs-on: ubuntu-latest

strategy:
fail-fast: true
matrix:
php: [ 8.0, 7.4, 7.3, 7.2, 7.1 ]
stability: [ prefer-lowest, prefer-stable ]

name: PHP ${{ matrix.php }} - ${{ matrix.stability }}

steps:
- uses: actions/checkout@v2

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
coverage: none

- name: Validate composer.json and composer.lock
run: composer validate

Expand Down
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
}
],
"require": {
"php": "^7.1.3"
"php": "^7.1||^8.0",
"composer/installers": "^1.0"
},
"autoload": {
"psr-0": {
Expand Down
1 change: 1 addition & 0 deletions updates/version.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
1.0.0: First version of Vdlp.HtmlPurifier
1.0.1: Update plugin LICENSE
2.0.0: Update library and minimal required PHP version
2.0.1: Update plugin dependencies

0 comments on commit 84de621

Please sign in to comment.