Skip to content

Fix escape for non-string data #32

Fix escape for non-string data

Fix escape for non-string data #32

Workflow file for this run

name: test
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
php: ['7.4', '8.0', '8.1', '8.2']
laravel: ['^8.0', '^9.0', '^10.0']
exclude:
- php: '7.4'
laravel: '^9.0'
- php: '7.4'
laravel: '^10.0'
- php: '8.0'
laravel: '^10.0'
steps:
- uses: actions/checkout@v2
- name: Validate composer.json and composer.lock
run: composer validate
- name: Cache Composer packages
id: composer-cache
uses: actions/cache@v2
with:
path: vendor
key: php-${{ matrix.php }}-laravel-${{ matrix.laravel }}-${{ hashFiles('composer.json') }}
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: bcmath, ctype, fileinfo, json, mbstring, openssl, pdo, pdo_sqlite, tokenizer, xml
coverage: none
- name: Install dependencies
run: |
composer require "laravel/framework:${{ matrix.laravel }}" --no-interaction --no-update
composer update --no-interaction --prefer-dist --no-progress --no-suggest
- name: Run test suite
run: composer run-script test