Skip to content

Commit cfb0e35

Browse files
committed
chore: Enable rector cache
1 parent da4861c commit cfb0e35

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

.github/workflows/test-rector.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,5 +80,14 @@ jobs:
8080
- name: Install dependencies
8181
run: composer update --ansi --no-interaction
8282

83+
- name: Rector Cache
84+
uses: actions/cache@v4
85+
with:
86+
path: /tmp/rector-${{ matrix.paths }}
87+
key: ${{ runner.os }}-rector-${{ github.run_id }}-${{ matrix.paths }}
88+
restore-keys: ${{ runner.os }}-rector-${{ matrix.paths }}
89+
90+
- run: mkdir -p /tmp/rector-${{ matrix.paths }}
91+
8392
- name: Run static analysis
8493
run: vendor/bin/rector process ${{ matrix.paths }} --dry-run --no-progress-bar

0 commit comments

Comments
 (0)