CIVIMM-263: payment_plan_mandate_next_available_payment_date should not be mandatory in MAE importer #95
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: Linters | |
on: pull_request | |
env: | |
GITHUB_BASE_REF: ${{ github.base_ref }} | |
jobs: | |
run-linters: | |
timeout-minutes: 3 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install phpcs | |
run: cd bin && ./install-php-linter | |
- name: Fetch target branch | |
run: git fetch -n origin ${GITHUB_BASE_REF} | |
- name: Run phpcs linter | |
run: git diff --diff-filter=d origin/${GITHUB_BASE_REF} --name-only -- '*.php' | xargs -r ./bin/phpcs.phar --standard=phpcs-ruleset.xml |