This repository has been archived by the owner on Jan 28, 2025. It is now read-only.
Update dependencies and require at least PHP 8.1 #123
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: CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- '**' | |
jobs: | |
build: | |
strategy: | |
matrix: | |
os: [ ubuntu-latest, windows-latest, macos-latest ] | |
php: [ '8.1', '8.2', '8.3' ] | |
runs-on: ${{matrix.os}} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v1 | |
- name: Set up PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{matrix.php}} | |
extensions: pdo, inotify | |
- name: Install | |
run: | | |
composer install | |
- name: Test | |
run: | | |
composer test | |
git status | |
git status | grep "nothing to commit, working tree clean" |