Trigger a notice because some folks are still using the package, Packagist says #126
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: PHP Tests | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
php-version: | |
- "7.3" | |
- "7.4" | |
- "8.0" | |
- "8.1" | |
- "8.2" | |
- "8.3" | |
steps: | |
- uses: actions/checkout@v3 | |
- name: OS info | |
run: cat /etc/os-release | |
- name: "Install PHP" | |
uses: shivammathur/setup-php@v2 | |
with: | |
coverage: "none" | |
php-version: "${{ matrix.php-version }}" | |
- name: PHP info | |
run: | | |
php -v | |
php -m | |
- name: Validate composer.json | |
run: composer validate --strict --no-interaction | |
- name: Install dependencies | |
run: composer update --no-progress --no-interaction | |
- name: Run tests | |
run: composer test |