Skip to content

Commit e3238e9

Browse files
committed
rector workflow update
1 parent 15bdf9d commit e3238e9

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

.github/workflows/rector.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,22 @@ on:
1818
- 'rector.php'
1919
- '.github/workflows/rector.yml'
2020

21+
concurrency:
22+
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
23+
cancel-in-progress: true
24+
25+
permissions:
26+
contents: read
27+
2128
jobs:
2229
build:
2330
name: PHP ${{ matrix.php-versions }} Rector Analysis
2431
runs-on: ubuntu-latest
25-
if: "!contains(github.event.head_commit.message, '[ci skip]')"
32+
if: (! contains(github.event.head_commit.message, '[ci skip]'))
2633
strategy:
2734
fail-fast: false
2835
matrix:
29-
php-versions: ['8.1', '8.2']
36+
php-versions: ['8.1', '8.3']
3037

3138
steps:
3239
- name: Checkout
@@ -61,6 +68,4 @@ jobs:
6168
fi
6269
6370
- name: Analyze for refactoring
64-
run: |
65-
composer global require --dev rector/rector:^0.19.5
66-
rector process --dry-run --no-progress-bar
71+
run: vendor/bin/rector process --dry-run --no-progress-bar

0 commit comments

Comments
 (0)