diff --git a/.github/workflows/test_extension.yml b/.github/workflows/test_extension.yml index 1edb9ca..9003c31 100644 --- a/.github/workflows/test_extension.yml +++ b/.github/workflows/test_extension.yml @@ -93,3 +93,28 @@ jobs: push_badge: true commit_message: "Update coverage badge" repo_token: ${{ secrets.GITHUB_TOKEN }} + + Lint: + runs-on: ubuntu-latest + needs: build + + permissions: + contents: read + packages: read + statuses: write # To report GitHub Actions status checks + + steps: + - name: Checkout code + uses: actions/checkout@v4 + with: + fetch-depth: 0 + + - name: Super-linter + uses: super-linter/super-linter@v6.7.0 + env: + # To report GitHub Actions status checks + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + VALIDATE_PHP: true + VALIDATE_PHP_PSALM: false + VALIDATE_PHP_PHPCS: false + VALIDATE_PHP_PHPSTAN: false