Skip to content

Commit 257e373

Browse files
committed
Create php.yml
1 parent 42b28f5 commit 257e373

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/php.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: PHP
2+
3+
on: [pull_request]
4+
5+
jobs:
6+
lint:
7+
name: Lint
8+
runs-on: ubuntu-latest
9+
10+
steps:
11+
- uses: actions/checkout@v3
12+
13+
- name: Setup PHP
14+
uses: shivammathur/setup-php@v2
15+
with:
16+
php-version: 8.2
17+
18+
- name: Install dependencies
19+
run: composer build:dev
20+
21+
- name: Validate against coding standards
22+
run: composer lint

0 commit comments

Comments
 (0)