Skip to content

Commit 3f5186f

Browse files
committed
Require without update if PHP 8.2
1 parent f8d3e3f commit 3f5186f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/tests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,15 @@ jobs:
3333
- name: Setup problem matchers for PHPUnit
3434
run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
3535

36+
- if: matrix.php == '8.2'
37+
name: Require packages for PHP 8.2
38+
run: composer require nesbot/carbon:^2.62.1 --no-update
39+
3640
- name: Install dependencies
3741
uses: ramsey/composer-install@v2
3842
with:
3943
dependency-versions: ${{ matrix.stability }}
4044

41-
- if: matrix.php == '8.2'
42-
name: Require packages for PHP 8.2
43-
run: composer require nesbot/carbon:^2.62.1 --no-update
44-
4545
- name: Execute tests
4646
run: composer run-script test:phpunit -- --coverage-clover coverage.xml
4747

0 commit comments

Comments
 (0)