Merge pull request #106 from lvmorales1/master #224
This file contains hidden or 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: Xulieta | |
| on: [push, pull_request] | |
| jobs: | |
| xulieta: | |
| name: Codelicia/Xulieta | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: '7.4' | |
| tools: cs2pr | |
| - name: Composer require Xulieta | |
| run: composer global require --no-progress codelicia/xulieta | |
| - name: Detect sample code errors | |
| run: ~/.composer/vendor/codelicia/xulieta/bin/xulieta check:erromeu --output=checkstyle . | cs2pr |