Adds tests and fixes issues in ApiMethods #227
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 files | |
on: [push] | |
jobs: | |
lint-php: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use php 7.3 | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: 7.3 | |
- name: Validate composer.json | |
run: composer validate | |
- name: Cache module | |
uses: actions/cache@v2 | |
with: | |
path: ~/.composer/cache/ | |
key: composer-cache | |
- name: Install dependencies | |
run: composer install --no-interaction | |
- name: Lint files | |
run: ./vendor/bin/php-cs-fixer fix --dry-run |