Add PHP8.2 and 8.3 to PHP GitHub Actions. #19
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 Version Compatibility | |
on: | |
- push | |
- pull_request | |
# Allow manually triggering the workflow. | |
- workflow_dispatch | |
# Cancels all previous workflow runs for the same branch that have not yet completed. | |
concurrency: | |
# The concurrency group contains the workflow name and the branch name. | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
php-codesniffer: | |
strategy: | |
matrix: | |
php: [ '8.0', '8.1', '8.2', '8.3', ] | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: pipeline-components/php-codesniffer@master | |
with: | |
options: >- | |
-s | |
--ignore='*vendor/*' | |
--standard=PHPCompatibility | |
--extensions=php | |
--runtime-set testVersion ${{ matrix.php }} |