-
Notifications
You must be signed in to change notification settings - Fork 6
49 lines (47 loc) · 1.34 KB
/
pull-request.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
name: PHP Syntax Linter
on:
pull_request:
branches: [ master ]
jobs:
test:
name: Run syntax linters
runs-on: ubuntu-latest
steps:
- name: "Checking out the project..."
uses: actions/checkout@v2
- name: "PHP Syntax Checker 5.6"
uses: StephaneBour/[email protected]
with:
dir: './'
- name: "PHP Syntax Checker 7.0"
uses: StephaneBour/[email protected]
with:
dir: './'
- name: "PHP Syntax Checker 7.1"
uses: StephaneBour/[email protected]
with:
dir: './'
- name: "PHP Syntax Checker 7.2"
uses: StephaneBour/[email protected]
with:
dir: './'
- name: "PHP Syntax Checker 7.3"
uses: StephaneBour/[email protected]
with:
dir: './'
- name: "PHP Syntax Checker 7.4"
uses: StephaneBour/[email protected]
with:
dir: './'
- name: "PHP Syntax Checker 8.0"
uses: StephaneBour/[email protected]
with:
dir: './'
- name: "PHP Syntax Checker 8.1"
uses: StephaneBour/[email protected]
with:
dir: './'
- name: "PHP Syntax Checker 8.2"
run: |
docker pull overtrue/phplint:8.2
docker run --rm -t -v "${PWD}":/workdir overtrue/phplint:8.2 ./