Skip to content

Commit

Permalink
new step for lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ofaurax authored Apr 10, 2024
1 parent c8a714e commit cbfe01c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,14 @@ jobs:
- name: Env
run: uname -a

- name: Lint PHP
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
# Version of PHP
php-version: latest # default is latest
# Comma-separated list of file extensions to lint
file-extensions: php # optional, default is php
runs: for f in *.php; do php -l ; done

- name: PHP Lint
run: for f in *.php; do php -l ; done

0 comments on commit cbfe01c

Please sign in to comment.