Skip to content

[BUGFIX] Fix the checkbox sync select-all state and preserve selection #1627

[BUGFIX] Fix the checkbox sync select-all state and preserve selection

[BUGFIX] Fix the checkbox sync select-all state and preserve selection #1627

Workflow file for this run

name: MySQL
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 }}
services:
mysql:
image: mysql/mysql-server:8.0
env:
MYSQL_ROOT_PASSWORD: ${{ secrets.MYSQL_ROOT_PASSWORD || 'password' }}
MYSQL_ROOT_HOST: "%"
MYSQL_DATABASE: powergridtest
MYSQL_USER: powergrid
MYSQL_PASSWORD: password
ports:
- 3307:3306
options: >-
--health-cmd="mysqladmin ping -ppassword"
--health-interval=10s
--health-timeout=5s
--health-retries=3
strategy:
fail-fast: true
matrix:
php: [ 8.5, 8.4, 8.3 ]
laravel: [ 13.*, 12.* ]
livewire: [ 4.* ]
steps:
- name: Checkout
uses: actions/checkout@v7
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, pdo_mysql, 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: MySQL Tests
env:
DB_CONNECTION: mysql
DB_DATABASE: powergridtest
DB_HOST: 127.0.0.1
DB_USERNAME: root
DB_PASSWORD: ${{ secrets.MYSQL_ROOT_PASSWORD || 'password' }}
DB_PORT: 3307
run: composer test:mysql