Skip to content

Commit 7f64004

Browse files
committed
chore: Add rector cache to workflows and template rector.php
1 parent db8a7df commit 7f64004

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

src/Template/.github/workflows/rector.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,5 +60,14 @@ jobs:
6060
composer update --no-progress --no-interaction --prefer-dist --optimize-autoloader
6161
fi
6262
63+
- name: Rector Cache
64+
uses: actions/cache@v4
65+
with:
66+
path: /tmp/rector
67+
key: ${{ runner.os }}-rector-${{ github.run_id }}
68+
restore-keys: ${{ runner.os }}-rector-
69+
70+
- run: mkdir -p /tmp/rector
71+
6372
- name: Analyze for refactoring
6473
run: vendor/bin/rector process --dry-run --no-progress-bar

0 commit comments

Comments
 (0)