Skip to content

Bump the github-actions group with 2 updates (#836) #3190

Bump the github-actions group with 2 updates (#836)

Bump the github-actions group with 2 updates (#836) #3190

Workflow file for this run

name: Test Suite
on:
push:
branches:
- main
- '*.x'
pull_request:
permissions: {}
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
php_tests:
if: "!contains(github.event.head_commit.message, 'changelog')"
runs-on: ${{ matrix.os }}
permissions:
contents: read
strategy:
matrix:
php: [8.3, 8.4, 8.5]
laravel: [12.*, 13.*]
stability: [prefer-lowest, prefer-stable]
os: [ubuntu-latest]
include:
- os: windows-latest
php: 8.5
laravel: 13.*
stability: prefer-stable
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
persist-credentials: false
- name: Setup PHP
uses: shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240 # 2.37.2
with:
php-version: ${{ matrix.php }}
extensions: fileinfo, exif, gd, pdo, sqlite, pdo_sqlite, intl
- name: Install dependencies
# zizmor: ignore[template-injection] - matrix values are defined in this file, not attacker-controlled
run: |
composer require "illuminate/contracts:${{ matrix.laravel }}" --no-interaction --no-update
composer update --${{ matrix.stability }} --prefer-dist --no-interaction --no-suggest
- name: Run PHPUnit
run: vendor/bin/phpunit