Use same mass delete icon as on every other list #235
Workflow file for this run
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: Linux | |
on: | |
push: | |
branches: | |
- master | |
- develop | |
- 'feature/*' | |
- 'hotfix/*' | |
- 'release/*' | |
pull_request: | |
jobs: | |
ubuntu-latest: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
php-versions: [ '8.1', '8.2' ] | |
coverage: [none] | |
fail-fast: false | |
name: PHP ${{ matrix.php-versions }} on ubuntu-latest | |
steps: | |
- name: PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php-versions }} | |
tools: composer | |
coverage: ${{ matrix.coverage }} | |
- name: Checkout Galette core | |
uses: actions/checkout@v3 | |
with: | |
repository: galette/galette | |
path: galette-core | |
fetch-depth: 1 | |
ref: develop | |
- name: Checkout plugin | |
uses: actions/checkout@v3 | |
with: | |
path: galette-core/galette/plugins/plugin-auto | |
- name: Get composer cache directory | |
id: composer-cache | |
run: | | |
echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT | |
- name: Cache dependencies | |
uses: actions/cache@v3 | |
with: | |
path: ${{ steps.composer-cache.outputs.dir }} | |
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }} | |
restore-keys: ${{ runner.os }}-composer- | |
- name: Install dependencies | |
run: | | |
cd galette-core/galette | |
composer install --ignore-platform-reqs | |
- name: CS | |
run: | | |
cd galette-core/galette/plugins/plugin-auto | |
../../vendor/bin/phpcs -n -p --standard=../../../phpcs-rules.xml lib/ ./*.php | |
- name: Check missing symbols | |
run: | | |
cd galette-core/galette/plugins/plugin-auto | |
composer require maglnet/composer-require-checker -W | |
vendor/bin/composer-require-checker check --config-file=.composer-require-checker.config.json ../../composer.json | |
- name: PHPStan checks | |
run: | | |
cd galette-core/galette/plugins/plugin-auto | |
../../vendor/bin/phpstan analyze --ansi --memory-limit=2G --no-interaction --no-progress | |
if: matrix.php-versions == '8.1' |