Make sure to enable memory and cpuset cgroup in v2 #2057
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | name: Run PHPStan | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - '[0-9]+.[0-9]+' | |
| pull_request: | |
| branches: | |
| - main | |
| - '[0-9]+.[0-9]+' | |
| jobs: | |
| phpstan: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup composer dependencies | |
| run: .github/jobs/composer_setup.sh | |
| - uses: php-actions/phpstan@v3 | |
| with: | |
| configuration: webapp/phpstan.dist.neon | |
| path: webapp/src webapp/tests | |
| php_extensions: gd intl mysqli pcntl zip | |
| autoload_file: webapp/vendor/autoload.php | |
| - uses: actions/upload-artifact@v4 | |
| if: always() | |
| with: | |
| path: /tmp/artifacts |