chore(deps): Bump actions/cache from 4 to 5 in the dependencies group… #31
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: Coding Standards | |
| on: | |
| pull_request: | |
| push: | |
| jobs: | |
| tests: | |
| runs-on: ${{ matrix.operating-system }} | |
| strategy: | |
| matrix: | |
| operating-system: [ubuntu-latest] | |
| php-versions: ['8.3'] | |
| name: PHP ${{ matrix.php-versions }} Test on ${{ matrix.operating-system }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 2 | |
| - name: Setup PHP, with composer and extensions | |
| uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: ${{ matrix.php-versions }} | |
| extensions: json, mbstring, openssl, sqlite3 | |
| coverage: xdebug | |
| - name: Install Composer dependencies | |
| run: | | |
| composer install | |
| composer require rector/rector symplify/easy-coding-standard --dev | |
| - name: CONDING STANDARDS (ECS) | |
| run: | | |
| vendor/bin/ecs check | |
| - name: CONDING STANDARDS (RECTOR) | |
| run: | | |
| vendor/bin/rector process --ansi --dry-run --xdebug |