Skip to content

add storipress request #8

add storipress request

add storipress request #8

Workflow file for this run

name: Testing
on:
push:
jobs:
lint:
name: PHP ${{ matrix.php }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
php: [ '8.2' ]
steps:
- uses: actions/checkout@v4
- name: Setup PHP with PECL extension
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
coverage: xdebug
- name: Get composer cache directory
run: echo "COMPOSER_DIR=$(composer config cache-files-dir)" >> $GITHUB_ENV
- name: Cache dependencies
uses: actions/cache@v3
with:
path: ${{ env.COMPOSER_DIR }}
key: ${{ runner.os }}-composer-php-${{ matrix.php }}-${{ hashFiles('**/composer.json') }}
restore-keys: ${{ runner.os }}-composer-
- name: Install dependencies
run: composer update --no-progress --no-interaction
- name: Check runtime dependencies
run: composer check-platform-reqs
- name: Run composer validate
run: composer validate --strict
- name: Run composer normalize
run: composer normalize --dry-run
- name: Run static analysis
run: vendor/bin/phpstan --memory-limit=-1 --verbose
- name: Run coding style checker
run: vendor/bin/pint -v --test