update README to state same PHP version requirement as composer.json #36
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: [ push, pull_request ] | |
jobs: | |
coding-standards: | |
name: "Coding Standards" | |
runs-on: "ubuntu-20.04" | |
strategy: | |
matrix: | |
php-version: | |
- "8.2" | |
steps: | |
- name: "Checkout" | |
uses: "actions/checkout@v2" | |
- name: "Install PHP" | |
uses: "shivammathur/setup-php@v2" | |
with: | |
coverage: "none" | |
php-version: "${{ matrix.php-version }}" | |
tools: "cs2pr" | |
- name: "Install dependencies with Composer" | |
uses: "ramsey/composer-install@v2" | |
- name: "Run PHP_CodeSniffer" | |
run: "vendor/bin/phpcs -n -s --report=checkstyle | cs2pr" | |
tests: | |
name: "Tests" | |
runs-on: "ubuntu-20.04" | |
strategy: | |
matrix: | |
php-version: | |
- "8.1" | |
- "8.2" | |
- "8.3" | |
steps: | |
- name: "Checkout" | |
uses: "actions/checkout@v2" | |
- name: "Install PHP" | |
uses: "shivammathur/setup-php@v2" | |
with: | |
php-version: "${{ matrix.php-version }}" | |
- name: "Install dependencies with Composer" | |
uses: "ramsey/composer-install@v2" | |
- name: "Run PHPUnit" | |
run: "vendor/bin/phpunit" | |