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.3"
9+ runs-on : ubuntu-latest
2110
2211 steps :
23- - name : Checkout
24- uses : actions/checkout@v4
12+ - name : Lint PHP files
2513
26- - name : Setup PHP runtime
27- uses : shivammathur/setup-php@v2
14+ uses : overtrue/phplint@main
2815 with :
29- php-version : " ${{ matrix.php-version }}"
30- coverage : " none"
31-
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
16+ path : .
17+ options : --exclude=vendor
You can’t perform that action at this time.
0 commit comments