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