Repository navigation
Bump squizlabs/php_codesniffer from 3.5.4 to 3.13.6 #15
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: PHP CI | |
| on: | |
| - push | |
| - pull_request | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Setup PHP | |
| uses: shivammathur/setup-php@v1 | |
| with: | |
| php-version: '7.4' | |
| - name: Install | |
| run: make install | |
| - name: Run linter | |
| run: make lint | |
| - name: Run test & publish code coverage | |
| uses: paambaati/codeclimate-action@v2.4.0 | |
| env: | |
| CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }} | |
| with: | |
| coverageCommand: make test | |
| debug: true | |