Skip to content

Commit 8351eea

Browse files
authored
Update workflow.yml
1 parent defa375 commit 8351eea

1 file changed

Lines changed: 5 additions & 24 deletions

File tree

.github/workflows/workflow.yml

Lines changed: 5 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -6,31 +6,12 @@ jobs:
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

0 commit comments

Comments
 (0)