Check code quality through Magento conding Standard, useful before marketplace submissions

The following sample with check code in app/code/Madit/Sips2 directory against magento coding standard with severity 10 (requirement to push to magento marketplace).

name: m2-actions-sips2-test

on: [push]

jobs:
  magento2-build:
    runs-on: ubuntu-latest
    container: ubuntu
    name: 'm2 tests & build'
    steps:
      - uses: actions/checkout@v1
        with:
          submodules: recursive
      - name: 'phpcs testing'
        uses: MAD-I-T/magento-actions@v3.10
        with:
          override_settings: 1
          process: 'phpcs-test'
          extension: 'Madit/Sips2/'
          severity: 10
          standard: 'Magento2'