Skip to content

Commit 4a84f4e

Browse files
committed
add github actions for coding standard
1 parent 075effd commit 4a84f4e

File tree

4 files changed

+58
-0
lines changed

4 files changed

+58
-0
lines changed

.github/workflows/coding-standard.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: ExtDN M2 Coding Standard
2+
on:
3+
push:
4+
branches:
5+
- master
6+
pull_request:
7+
8+
jobs:
9+
static:
10+
name: M2 Coding Standard
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v2
14+
- uses: extdn/github-actions-m2/magento-coding-standard@master
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: ExtDN M2 Copy Paste Detector
2+
on:
3+
push:
4+
branches:
5+
- master
6+
pull_request:
7+
8+
jobs:
9+
phpmd:
10+
name: M2 Copy Paste Detector
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v2
14+
- uses: extdn/github-actions-m2/magento-copy-paste-detector@master

.github/workflows/mess-detector.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: ExtDN M2 Mess Detector
2+
on:
3+
push:
4+
branches:
5+
- master
6+
pull_request:
7+
8+
jobs:
9+
phpmd:
10+
name: M2 Mess Detector
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v2
14+
- uses: extdn/github-actions-m2/magento-mess-detector@master

.github/workflows/phpstan.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: ExtDN M2 PHPStan
2+
on:
3+
push:
4+
branches:
5+
- master
6+
pull_request:
7+
8+
jobs:
9+
phpstan:
10+
name: M2 PHPStan
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v2
14+
- uses: extdn/github-actions-m2/magento-phpstan@master
15+
with:
16+
composer_name: foo/magento2-foobar

0 commit comments

Comments
 (0)