Skip to content

Commit

Permalink
add github actions for coding standard
Browse files Browse the repository at this point in the history
  • Loading branch information
torhoehn committed May 24, 2022
1 parent 075effd commit 9352044
Show file tree
Hide file tree
Showing 4 changed files with 58 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/coding-standard.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: ExtDN M2 Coding Standard
on:
push:
branches:
- main
pull_request:

jobs:
static:
name: M2 Coding Standard
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: extdn/github-actions-m2/magento-coding-standard@master
14 changes: 14 additions & 0 deletions .github/workflows/copy-paste-detector.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: ExtDN M2 Copy Paste Detector
on:
push:
branches:
- main
pull_request:

jobs:
phpmd:
name: M2 Copy Paste Detector
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: extdn/github-actions-m2/magento-copy-paste-detector@master
14 changes: 14 additions & 0 deletions .github/workflows/mess-detector.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: ExtDN M2 Mess Detector
on:
push:
branches:
- main
pull_request:

jobs:
phpmd:
name: M2 Mess Detector
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: extdn/github-actions-m2/magento-mess-detector@master
16 changes: 16 additions & 0 deletions .github/workflows/phpstan.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: ExtDN M2 PHPStan
on:
push:
branches:
- main
pull_request:

jobs:
phpstan:
name: M2 PHPStan
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: extdn/github-actions-m2/magento-phpstan@master
with:
composer_name: foo/magento2-foobar

0 comments on commit 9352044

Please sign in to comment.