Skip to content

Commit dfe3413

Browse files
authored
php 8.1 on downgrade, php 8.0 on scoping
1 parent 2d53fdd commit dfe3413

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

.github/workflows/build_scoped_rector.yaml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
-
3636
uses: shivammathur/setup-php@v2
3737
with:
38-
php-version: 8.0
38+
php-version: 8.1
3939
coverage: none
4040

4141
# fixes https://github.com/rectorphp/rector/pull/4559/checks?check_run_id=1359814403, see https://github.com/shivammathur/setup-php#composer-github-oauth
@@ -58,6 +58,16 @@ jobs:
5858
# 2. downgrade rector
5959
- run: sh build/downgrade-rector.sh rector-build
6060

61+
-
62+
uses: shivammathur/setup-php@v2
63+
with:
64+
php-version: 8.0
65+
coverage: none
66+
67+
# fixes https://github.com/rectorphp/rector/pull/4559/checks?check_run_id=1359814403, see https://github.com/shivammathur/setup-php#composer-github-oauth
68+
env:
69+
COMPOSER_TOKEN: ${{ secrets.ACCESS_TOKEN }}
70+
6171
# 3. prefix classes
6272
- run: sh build/build-rector-scoped.sh rector-build rector-prefixed-downgraded
6373

0 commit comments

Comments
 (0)