Bump symfony/var-dumper from 6.4.3 to 6.4.15 #113
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Test on Latest Laravel" | |
# Triggers the workflow on push or pull request events | |
on: [push, pull_request] | |
jobs: | |
test: | |
name: PHPUnit Tests | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@master | |
with: | |
php-version: 8.2 | |
- name: Composer self update | |
run: composer self-update >/dev/null 2>&1 | |
- name: Get composer cache directory | |
id: composer-cache | |
run: echo "::set-output name=dir::$(composer config cache-files-dir)" | |
- name: Cache dependencies | |
uses: actions/cache@v2 | |
with: | |
path: ${{ steps.composer-cache.outputs.dir }} | |
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }} | |
restore-keys: ${{ runner.os }}-composer- | |
- name: Lock laravel/framework version | |
env: | |
LARAVEL_VERSION: 10.5.0 | |
run: composer require laravel/framework:10.5.0 --no-update | |
- name: Vendor update | |
if: steps.composer-cache.outputs.cache-hit != 'true' | |
run: composer update --prefer-source --no-interaction | |
- name: Run test suites | |
run: composer run-script test | |
- name: Coveralls | |
env: | |
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: php vendor/bin/php-coveralls -v |