Bump nick-invision/retry from 2 to 3 #49
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: Syntax Checks | |
on: [ push, pull_request, workflow_dispatch ] | |
jobs: | |
ci: | |
runs-on: ubuntu-22.04 | |
strategy: | |
fail-fast: true | |
matrix: | |
php: ["7.2", "7.3", "7.4", "8.0", "8.1", "8.2", "8.3"] | |
name: Syntax Checks Under PHP ${{ matrix.php }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Run Syntax Checks | |
run: | | |
set -ex | |
if [[ ${{ matrix.php }} == '7.3' ]] ; then | |
docker run -q --rm -v "$(pwd)/src:/data" -i cytopia/phplint:${{ matrix.php }} | |
else | |
docker run -q --rm -v "$(pwd):/project" -w /project -i jakzal/phpqa:php${{ matrix.php }} phplint src tests ./counit | |
fi |