1# https://help.github.com/en/categories/automating-your-workflow-with-github-actions 2 3name: "Coding standard check" 4 5on: 6 pull_request: 7 push: 8 branches: 9 - "development" 10 - "test" 11 12jobs: 13 14 cs: 15 16 name: "Coding standard" 17 18 runs-on: ${{ matrix.operating-system }} 19 20 strategy: 21 matrix: 22 php-version: 23 - "7.4" 24 25 operating-system: [ubuntu-latest] 26 27 steps: 28 - name: "Checkout" 29 uses: "actions/checkout@v2" 30 31 - name: "Install PHP" 32 uses: "shivammathur/setup-php@v2" 33 with: 34 coverage: "none" 35 php-version: "${{ matrix.php-version }}" 36 extensions: "mbstring" 37 tools: composer:v2 38 39 - name: "Install dependencies" 40 run: "composer install --no-interaction --no-progress" 41 42 - name: "CS" 43 run: composer cs 44