Avoid pipe to get original error code (#288) #897
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: | |
push: | |
branches: | |
- master | |
- stable* | |
env: | |
APP_NAME: workflow_ocr | |
jobs: | |
php: | |
runs-on: ubuntu-22.04 | |
strategy: | |
matrix: | |
php-versions: ['8.2', '8.3'] | |
name: php${{ matrix.php-versions }}-LINT | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up php ${{ matrix.php-versions }} | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php-versions }} | |
coverage: none | |
- name: Lint | |
run: composer run lint |