fix(MT-6197): Upgrade all dependencies + Address vulnerability CVE-20… #135
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: run-lint | |
on: | |
push: | |
pull_request: | |
jobs: | |
php-cs-fixer: | |
name: php-cs check | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@master | |
- name: Setup PHP | |
uses: shivammathur/setup-php@master | |
with: | |
php-version: 8.1 | |
coverage: none | |
tools: cs2pr | |
- name: Install dependencies | |
run: composer i | |
- name: Run linter | |
run: composer lint -- --dry-run --diff --format=checkstyle | cs2pr |