MAG-370: Add the proper depends #242
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI Static Tests | |
on: [push] | |
jobs: | |
static: | |
name: Static Code Analysis | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: extdn/github-actions-m2/magento-coding-standard/8.1@master | |
with: | |
phpcs_severity: 9 | |
phpcs_report: full | |
sonarcloud: | |
runs-on: ubuntu-latest | |
continue-on-error: true | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
# Disabling shallow clone is recommended for improving relevancy of reporting | |
fetch-depth: 0 | |
- name: SonarCloud Scan | |
uses: sonarsource/sonarcloud-github-action@master | |
env: | |
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} | |
with: | |
projectBaseDir: . | |
args: > | |
-Dsonar.organization=${{ secrets.SONAR_ORGA }} | |
-Dsonar.projectKey=github-payplug-payplug-magento2 | |
-Dsonar.sources=. | |
-Dsonar.verbose=true |