HOME


Mini Shell 1.0
La Pieza.DO | Todo lo que buscas!

Bienvenido de nuevo!

Acceso Cuenta Delivery
DIR: /var/www/devs.lapieza.net/vendor/mpdf/mpdf/.github/workflows/
Upload File :
Current File : /var/www/devs.lapieza.net/vendor/mpdf/mpdf/.github/workflows/static-analysis.yml
# https://help.github.com/en/categories/automating-your-workflow-with-github-actions

name: "Static Analysis check"

on:
  pull_request:
  push:
    branches:
      - "master"
      - "development"
      - "test"

jobs:

  stan:

    name: "Static Analysis check"

    runs-on: ${{ matrix.operating-system }}

    strategy:
      matrix:
        php-version:
          - "8.2"

        operating-system: [ubuntu-latest]

    steps:
      - name: "Checkout"
        uses: "actions/checkout@v4"

      - name: "Install PHP"
        uses: "shivammathur/setup-php@v2"
        with:
          coverage: "none"
          php-version: "${{ matrix.php-version }}"
          extensions: "mbstring"
          tools: composer:v2

      - name: "Install dependencies"
        run: "composer install --no-interaction --no-progress && composer require \"phpstan/phpstan:^2.0\""

      - name: "Static Analysis check"
        run: vendor/bin/phpstan --no-progress