Skip to content

Bump actions/checkout from 4 to 5 #64

Bump actions/checkout from 4 to 5

Bump actions/checkout from 4 to 5 #64

name: Composer
on:
pull_request:
branches:
- "4.5.x"
paths:
- "composer.json"
- ".github/workflows/composer-validate.yml"
permissions:
contents: read
jobs:
validate:
name: Validate in PHP ${{ matrix.php-versions }}
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
php-versions: ["7.4", "8.0", "8.1", "8.2"]
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
extensions: mbstring, intl, json, mysqlnd, libcurl
coverage: xdebug
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Validate composer.json
run: composer validate --no-check-all
- name: Install dependencies
run: composer update --ansi --no-interaction