From a9420d95a99f02d5127db9dffe424a7101511346 Mon Sep 17 00:00:00 2001 From: SerafimArts Date: Sun, 18 Feb 2024 00:33:46 +0000 Subject: [PATCH] Remove rector and psalm from subpackages --- .github/workflows/static-analysis.yml | 87 --------------------------- 1 file changed, 87 deletions(-) delete mode 100644 .github/workflows/static-analysis.yml diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml deleted file mode 100644 index 89f8e43..0000000 --- a/.github/workflows/static-analysis.yml +++ /dev/null @@ -1,87 +0,0 @@ -name: static-analysis - -on: - push: - pull_request: - -jobs: - - # ---------------------------------------------------------------------------- - # Static Analysis - # ---------------------------------------------------------------------------- - - psalm: - name: Psalm - runs-on: ${{ matrix.os }} - if: "!contains(github.event.head_commit.message, '[ci skip]')" - strategy: - fail-fast: false - matrix: - php: [ '8.3' ] - os: [ ubuntu-latest ] - steps: - - name: Checkout - uses: actions/checkout@v3 - - name: Setup PHP ${{ matrix.php }} - uses: shivammathur/setup-php@v2 - with: - php-version: ${{ matrix.php }} - tools: composer:v2 - - name: Get Composer Cache Directory - id: composer-cache - run: echo "::set-output name=dir::$(composer config cache-files-dir)" - - name: Restore Composer Cache - uses: actions/cache@v3 - with: - path: ${{ steps.composer-cache.outputs.dir }} - key: ${{ runner.os }}-${{ matrix.php }}-composer-${{ hashFiles('**/composer.json') }} - restore-keys: ${{ runner.os }}-${{ matrix.php }}-composer- - - name: Install Dependencies - uses: nick-invision/retry@v2 - with: - timeout_minutes: 5 - max_attempts: 5 - command: composer install --prefer-dist --no-interaction --no-progress - - name: Execute Static Analysis - run: vendor/bin/psalm --shepherd --stats --output-format=github --php-version=${{ matrix.php }} - - # ---------------------------------------------------------------------------- - # Rector - # ---------------------------------------------------------------------------- - - rector: - name: Rector - runs-on: ${{ matrix.os }} - continue-on-error: true # ALLOW FAIL - if: "!contains(github.event.head_commit.message, '[ci skip]')" - strategy: - fail-fast: false - matrix: - php: [ '8.2' ] - os: [ ubuntu-latest ] - steps: - - name: Checkout - uses: actions/checkout@v3 - - name: Setup PHP ${{ matrix.php }} - uses: shivammathur/setup-php@v2 - with: - php-version: ${{ matrix.php }} - tools: composer:v2 - coverage: none - - name: Get Composer Cache Directory - id: composer-cache - run: echo "::set-output name=dir::$(composer config cache-files-dir)" - - name: Restore Composer Cache - uses: actions/cache@v3 - with: - path: ${{ steps.composer-cache.outputs.dir }} - key: ${{ runner.os }}-${{ matrix.php }}-composer-${{ hashFiles('**/composer.json') }} - restore-keys: ${{ runner.os }}-${{ matrix.php }}-composer- - - name: Install Dependencies - uses: nick-invision/retry@v2 - with: - timeout_minutes: 5 - max_attempts: 5 - command: composer install --prefer-dist --no-interaction --no-progress - - name: Check Rector - run: vendor/bin/rector --config=rector.php --dry-run