Skip to content

build(deps): bump actions/cache from 5 to 6 #1620

build(deps): bump actions/cache from 5 to 6

build(deps): bump actions/cache from 5 to 6 #1620

Workflow file for this run

name: SQLite
on:
push:
branches:
- "**"
paths-ignore:
- "art/**"
- ".github/DISCUSSION_TEMPLATE/**"
- ".github/ISSUE_TEMPLATE/**"
- "**/*.md"
pull_request:
types: [ready_for_review, synchronize, opened]
paths-ignore:
- "art/**"
- ".github/DISCUSSION_TEMPLATE/**"
- ".github/ISSUE_TEMPLATE/**"
- "**/*.md"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
name: PHP:${{ matrix.php }} / Laravel:${{ matrix.laravel }} / Livewire:${{ matrix.livewire }}
strategy:
fail-fast: true
matrix:
php: [ 8.5, 8.4, 8.3 ]
laravel: [ 13.*, 12.* ]
livewire: [ 4.* ]
steps:
- name: Checkout
uses: actions/checkout@v6
with:
persist-credentials: false
- name: Setup PHP, with composer and extensions
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv
tools: composer:v2
coverage: none
- name: Get composer cache directory
id: composer-cache
run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
- name: Cache composer dependencies
uses: actions/cache@v6
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: dependencies-laravel-${{ matrix.laravel }}-livewire-${{ matrix.livewire}}-php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }}
restore-keys: |
dependencies-laravel-${{ matrix.laravel }}-livewire-${{ matrix.livewire}}-php-${{ matrix.php }}-
- name: Inject Matrix Dependencies Safely
env:
LARAVEL_VERSION: ${{ matrix.laravel }}
LIVEWIRE_VERSION: ${{ matrix.livewire }}
run: >
composer require
"laravel/framework:$LARAVEL_VERSION"
"livewire/livewire:$LIVEWIRE_VERSION"
"openspout/openspout:^5.0"
--no-interaction
--no-update
- name: Install Composer dependencies
run: composer install --no-progress --optimize-autoloader --no-scripts
- name: SQLite
run: composer test:sqlite