From 37a445a13c5a75906c8c94c38e0eec71ea2179bd Mon Sep 17 00:00:00 2001 From: loks0n <22452787+loks0n@users.noreply.github.com> Date: Thu, 9 Apr 2026 15:16:45 +0100 Subject: [PATCH] ci: fold specs and locale checks into lint job Co-Authored-By: Claude Sonnet 4.6 --- .github/workflows/ci.yml | 48 ++++++++++------------------------------ 1 file changed, 12 insertions(+), 36 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6362a79e01..ed01c0ef97 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -96,9 +96,15 @@ jobs: uses: shivammathur/setup-php@v2 with: php-version: '8.3' + extensions: swoole tools: composer:v2 coverage: none + - name: Setup Node + uses: actions/setup-node@v4 + with: + node-version: '24' + - name: Validate run: composer validate @@ -121,48 +127,18 @@ jobs: - name: Run PHPStan run: composer analyze -- --no-progress + - name: Generate specs + run: _APP_STORAGE_LIMIT=5368709120 php app/cli.php specs --version=latest --git=no + + - name: Run Locale check + run: node .github/workflows/static-analysis/locale/index.js + - run: git checkout HEAD^2 if: github.event_name == 'pull_request' - name: Run Pint run: composer format:check - specs: - name: Checks / Specs - runs-on: ubuntu-latest - steps: - - name: Check out the repo - uses: actions/checkout@v6 - - - name: Setup PHP - uses: shivammathur/setup-php@v2 - with: - php-version: '8.3' - extensions: swoole - tools: composer:v2 - coverage: none - - - name: Install dependencies - run: composer install --prefer-dist --no-progress --ignore-platform-reqs - - - name: Generate specs - run: _APP_STORAGE_LIMIT=5368709120 php app/cli.php specs --version=latest --git=no - - locale: - name: Checks / Locale - runs-on: ubuntu-latest - steps: - - name: Check out the repo - uses: actions/checkout@v6 - - - name: Setup Node - uses: actions/setup-node@v4 - with: - node-version: '24' - - - name: Run Locale check - run: node .github/workflows/static-analysis/locale/index.js - matrix: name: Tests / Matrix runs-on: ubuntu-latest