ADS-4478 Fix installation and bump PHP version #17
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 PHP | |
on: | |
push: | |
branches: | |
- main | |
- develop | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
name: PHPLint | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
path: shopware6-job-scheduler | |
- name: Setup PHP with Composer 2 | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: 8.2 | |
extensions: dom, gd, mbstring, pdo_mysql, zip | |
coverage: xdebug | |
tools: composer:v2 | |
- name: Validate dependencies | |
working-directory: shopware6-job-scheduler | |
run: composer validate | |
- name: Install plugin dependencies | |
working-directory: shopware6-job-scheduler | |
run: composer install --no-interaction | |
- name: Run PHPLint | |
working-directory: shopware6-job-scheduler | |
run: composer run lint |