Fix phpstan issues in spiral integration #1075
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: Lint | |
on: | |
pull_request_target: | |
push: | |
branches: | |
- '[0-9]+.[0-9]+' | |
jobs: | |
lint: | |
name: "Lint" | |
runs-on: ubuntu-latest | |
steps: | |
- name: Wait for 5 seconds | |
run: sleep 5 | |
- name: Checkout project | |
uses: actions/checkout@v4 | |
with: | |
ref: "${{ github.event.pull_request.merge_commit_sha }}" | |
- name: Install and configure PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: '8.2' | |
tools: 'composer:v2' | |
ini-values: memory_limit=-1, zend.assertions=1 | |
coverage: none | |
- name: Install composer dependencies | |
uses: ramsey/composer-install@v2 | |
env: | |
COMPOSER_ROOT_VERSION: 0.6.x-dev | |
with: | |
working-directory: ${{ inputs.directory }} | |
dependency-versions: 'highest' | |
- name: Run packages lints | |
run: composer lint |