diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f7caa07..c739414 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,6 +1,10 @@ name: CI -on: [push] +on: + push: + branches: + - master + pull_request: jobs: build: @@ -8,7 +12,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, windows-latest, macOS-latest] - php-versions: ['7.4'] + php-versions: ['7.4', '8.0'] name: Test on ${{ matrix.os }} with PHP ${{ matrix.php-versions }} steps: diff --git a/composer.json b/composer.json index dde6002..03fee40 100644 --- a/composer.json +++ b/composer.json @@ -12,7 +12,7 @@ } ], "require": { - "php": ">=7.4" + "php": "^7.4||^8.0" }, "require-dev": { "squizlabs/php_codesniffer": "^3.5",