Update phpunit/phpunit requirement from ^9.5 to ^11.5 #485
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
on: [push, pull_request] | |
name: Lint | |
jobs: | |
php-cs-fixer: | |
name: PHP-CS-Fixer | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Checkout" | |
uses: actions/checkout@v2 | |
- name: "Run PHP-CS-Fixer" | |
uses: docker://oskarstark/php-cs-fixer-ga | |
with: | |
args: --ansi --verbose --diff --dry-run | |
composer-normalize: | |
name: composer-normalize | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Checkout" | |
uses: actions/checkout@v2 | |
- name: "Set up PHP" | |
uses: shivammathur/setup-php@v2 | |
with: | |
coverage: "none" | |
php-version: "8.0" | |
tools: "composer-normalize" | |
- name: "Run composer-normalize" | |
run: composer-normalize --dry-run | |
yaml-files: | |
name: YAML files | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Checkout" | |
uses: actions/checkout@v2 | |
- name: "Install Ruby 2.6" | |
uses: actions/setup-ruby@v1 | |
with: | |
ruby-version: '2.6' | |
- run: gem install yaml-lint | |
- name: "Linting..." | |
run: make lint-yaml | |
xml-files: | |
name: XML files | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Checkout" | |
uses: actions/checkout@v2 | |
- run: sudo apt-get update && sudo apt-get install libxml2-utils | |
- name: "Linting..." | |
run: make lint-xml |