chore(deps): bump codecov/codecov-action from 5 to 6 #336
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: rector | |
| on: | |
| workflow_dispatch: | |
| push: | |
| pull_request: | |
| env: | |
| COMPOSER_NO_SECURITY_BLOCKING: 1 | |
| jobs: | |
| rector: | |
| name: rector | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Setup PHP | |
| uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: '8.2' | |
| coverage: none | |
| env: | |
| COMPOSER_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Get composer cache directory | |
| id: composer-cache | |
| run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT | |
| - name: Cache composer dependencies | |
| uses: actions/cache@v5 | |
| with: | |
| path: ${{ steps.composer-cache.outputs.dir }} | |
| # Use composer.json for key, if composer.lock is not committed. | |
| key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }} | |
| # key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} | |
| restore-keys: ${{ runner.os }}-composer- | |
| - name: Run composer install | |
| run: composer install --no-interaction --ansi -v | |
| - name: Run rector with github output format | |
| continue-on-error: true | |
| run: composer rector:process-dry-run-output-format-github | |
| - name: Run rector | |
| run: composer rector:process-dry-run |