fix(composer): add fallback autoload for Composer dependency installs #746
Workflow file for this run
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: PHPCS | |
| on: | |
| pull_request: | |
| branches: | |
| - trunk | |
| - develop | |
| - branch-* | |
| - feature/* | |
| - enhancement/* | |
| - fix/* | |
| jobs: | |
| run: | |
| runs-on: ${{ matrix.operating-system }} | |
| strategy: | |
| matrix: | |
| operating-system: [ubuntu-latest] | |
| php-versions: ['8.3'] | |
| name: PHP ${{ matrix.php-versions }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Setup PHP | |
| uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: ${{ matrix.php-versions }} | |
| coverage: none # XDebug can be enabled here 'coverage: xdebug' | |
| tools: composer:v2 | |
| - name: Install Strauss | |
| run: sh -c 'test -f ./bin/strauss.phar || curl -o bin/strauss.phar -L -C - https://github.com/BrianHenryIE/strauss/releases/latest/download/strauss.phar' | |
| - name: Install dependencies | |
| run: composer install --no-interaction | |
| - name: Run PHPCS | |
| run: composer phpcs |