Skip to content

Commit

Permalink
Add php compatibility check
Browse files Browse the repository at this point in the history
  • Loading branch information
cmuench committed Sep 7, 2023
1 parent 2508bfd commit da64c4b
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/php_compatibility.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
name: PHP Compatibility
on:
- push
- pull_request

env:
MIN_PHP_VERSION: 7.4

jobs:
php-compatibility:
name: PHP Compatibility
runs-on: ubuntu-latest
steps:
- name: Checkout PR
uses: actions/[email protected]
if: github.event_name == 'pull_request_target'
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Checkout HEAD
uses: actions/[email protected]
if: github.event_name == 'push'
- name: PHP Compatibility
uses: pantheon-systems/phpcompatibility-action@v1
with:
test-versions: ${{ env.MIN_PHP_VERSION }}-
paths: ${{ github.workspace }}/src, ${{ github.workspace }}/tests

0 comments on commit da64c4b

Please sign in to comment.