Skip to content

Merge pull request #24 from PHPCompatibility/dependabot/github_action… #59

Merge pull request #24 from PHPCompatibility/dependabot/github_action…

Merge pull request #24 from PHPCompatibility/dependabot/github_action… #59

Workflow file for this run

name: Validate
on:
# Run on all pushes and pull requests.
push:
pull_request:
# Also run this workflow on day 15 of every month as the repo isn't that active.
schedule:
- cron: '0 0 15 * *'
# Allow manually triggering the workflow.
workflow_dispatch:
jobs:
validate:
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
php: ['5.4', 'latest']
name: PHP ${{ matrix.php }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
coverage: none
- name: Install dependencies
run: composer update --no-interaction --no-progress
- name: Validate Composer installation
run: composer validate --no-check-all --strict