1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
name: Lint on: - push jobs: lint: name: Lint runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v3 - name: Setup PHP uses: shivammathur/setup-php@v2 with: php-version: '7.4' tools: phplint - name: Check syntax run: phplint .