File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66 php-lint :
77 name : " PHPLint v9"
88
9- runs-on : " ${{ matrix.operating-system }}"
10-
11- strategy :
12- fail-fast : false
13-
14- matrix :
15- operating-system :
16- - " ubuntu-24.04"
17- - " ubuntu-22.04"
18-
19- php-version :
20- - " 8.4"
9+ runs-on : ubuntu-latest
2110
2211 steps :
2312 - name : Checkout
2413 uses : actions/checkout@v4
2514
26- - name : Setup PHP runtime
27- uses : shivammathur/setup-php@v2
28- with :
29- php-version : " ${{ matrix.php-version }}"
30- coverage : " none"
15+ - name : Lint PHP files
3116
32- - name : Run tests
33- run : |
34- curl -Ls https://github.com/overtrue/phplint/releases/latest/download/phplint.phar -o /usr/local/bin/phplint
35- chmod +x /usr/local/bin/phplint
36- /usr/local/bin/phplint --no-cache --no-progress -v
17+ uses : overtrue/phplint@main
18+ with :
19+ path : .
20+ options : --exclude=vendor
You can’t perform that action at this time.
0 commit comments