From d7d6fad307ecab52afebecd9df5811159c71b540 Mon Sep 17 00:00:00 2001 From: Iman Aboheydary Date: Mon, 5 Feb 2024 12:36:58 +0100 Subject: [PATCH] Add github actions, DEV-367 --- .github/workflows/coding-standard.yml | 10 ++++++++++ .github/workflows/mess-detector.yml | 10 ++++++++++ .github/workflows/phpstan.yml | 12 ++++++++++++ 3 files changed, 32 insertions(+) create mode 100644 .github/workflows/coding-standard.yml create mode 100644 .github/workflows/mess-detector.yml create mode 100644 .github/workflows/phpstan.yml diff --git a/.github/workflows/coding-standard.yml b/.github/workflows/coding-standard.yml new file mode 100644 index 0000000..fa358ed --- /dev/null +++ b/.github/workflows/coding-standard.yml @@ -0,0 +1,10 @@ +name: ExtDN M2 Coding Standard +on: [push, pull_request] + +jobs: + static: + name: M2 Coding Standard + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: extdn/github-actions-m2/magento-coding-standard@master diff --git a/.github/workflows/mess-detector.yml b/.github/workflows/mess-detector.yml new file mode 100644 index 0000000..23e9417 --- /dev/null +++ b/.github/workflows/mess-detector.yml @@ -0,0 +1,10 @@ +name: ExtDN M2 Mess Detector +on: [push, pull_request] + +jobs: + phpmd: + name: M2 Mess Detector + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: extdn/github-actions-m2/magento-mess-detector@master diff --git a/.github/workflows/phpstan.yml b/.github/workflows/phpstan.yml new file mode 100644 index 0000000..f15bbe9 --- /dev/null +++ b/.github/workflows/phpstan.yml @@ -0,0 +1,12 @@ +name: ExtDN M2 PHPStan +on: [push, pull_request] + +jobs: + phpstan: + name: M2 PHPStan + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: extdn/github-actions-m2/magento-phpstan@master + with: + composer_name: customgento/module-mass-update-tier-prices-m2