Skip to content

Commit 622342c

Browse files
authored
Fix pipeline failure (#18)
1 parent 8e72318 commit 622342c

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

.github/workflows/ci.yml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,17 @@ on:
44
push:
55
paths:
66
- '**.php'
7-
- '.github/workflows/run-tests.yml'
7+
- '.github/workflows/ci.yml'
88
- 'phpunit.xml.dist'
99
- 'composer.json'
1010
- 'composer.lock'
1111
pull_request:
1212
types: [opened, synchronize, reopened]
1313

14+
concurrency:
15+
group: ${{ github.workflow }}-${{ github.ref }}
16+
cancel-in-progress: true
17+
1418
jobs:
1519
phpunit:
1620
name: Tests PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
@@ -21,7 +25,12 @@ jobs:
2125
matrix:
2226
os: [ubuntu-latest, windows-latest]
2327
php: [8.3, 8.4]
24-
laravel: [11, 12]
28+
laravel: [12.*, 11.*]
29+
include:
30+
- laravel: 12.*
31+
testbench: 10.*
32+
- laravel: 11.*
33+
testbench: 9.*
2534

2635
steps:
2736
- uses: actions/checkout@v4
@@ -48,7 +57,8 @@ jobs:
4857
4958
- name: Install dependencies
5059
run: |
51-
composer update --prefer-dist --no-interaction --with="illuminate/contracts:^${{ matrix.laravel }}"
60+
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
61+
composer update --prefer-dist --no-interaction
5262
5363
- name: List Installed Dependencies
5464
run: composer show -D

0 commit comments

Comments
 (0)