Skip to content

Bump shivammathur/setup-php from 2.37.1 to 2.37.2 (#181) #162

Bump shivammathur/setup-php from 2.37.1 to 2.37.2 (#181)

Bump shivammathur/setup-php from 2.37.1 to 2.37.2 (#181) #162

name: "Continuous Integration"
on:
- push
- pull_request
env:
SYMFONY_PHPUNIT_REMOVE_RETURN_TYPEHINT: "1"
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
tests:
name: "CI"
runs-on: ubuntu-latest
strategy:
matrix:
php-version:
- "5.3"
- "5.4"
- "5.5"
- "5.6"
- "7.0"
- "7.1"
- "7.2"
- "7.3"
- "7.4"
- "8.0"
- "8.1"
- "8.2"
- "8.3"
- "8.4"
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
persist-credentials: false
- uses: shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240 # 2.37.2
with:
php-version: "${{ matrix.php-version }}"
coverage: none
- name: "Remove PHPStan as it requires a newer PHP"
run: composer remove phpstan/phpstan --dev --no-update
- uses: ramsey/composer-install@65e4f84970763564f46a70b8a54b90d033b3bdda # 4.0.0
with:
dependency-versions: highest
- name: Run tests
run: vendor/bin/simple-phpunit --verbose