Skip to content

Commit

Permalink
chore: adjusts workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
nunomaduro committed Sep 8, 2024
1 parent 3bad0ca commit 7dd98c0
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.1
php-version: 8.2
tools: composer:v2
coverage: none

Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,10 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest]
php: ['8.1', '8.2', '8.3']
php: ['8.2', '8.3']
laravel: ['10', '11']
dependency-version: [prefer-lowest, prefer-stable]
parallel: ['', '--parallel']
exclude:
- php: '8.1'
laravel: '11'

name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }} - ${{ matrix.os }} - ${{ matrix.dependency-version }} - ${{ matrix.parallel }}

Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"license": "MIT",
"require": {
"php": "^8.2.0",
"laravel/framework": "^11.5.0",
"laravel/framework": "^11.22.0",
"pestphp/pest": "^3.0.0"
},
"autoload": {
Expand All @@ -30,8 +30,8 @@
}
},
"require-dev": {
"laravel/dusk": "^8.2.0",
"orchestra/testbench": "^9.0.4",
"laravel/dusk": "^8.2.5",
"orchestra/testbench": "^9.4.0",
"pestphp/pest-dev-tools": "^3.0.0"
},
"minimum-stability": "dev",
Expand Down
2 changes: 1 addition & 1 deletion tests/Authentication.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php

use function Pest\Laravel\{assertGuest};
use function Pest\Laravel\assertGuest;

assertGuest();
2 changes: 1 addition & 1 deletion tests/Console.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php

use function Pest\Laravel\{artisan};
use function Pest\Laravel\artisan;

artisan('inspire')->expectsOutput('pest');
2 changes: 1 addition & 1 deletion tests/Container.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php

use function Pest\Laravel\{withoutMiddleware};
use function Pest\Laravel\withoutMiddleware;

withoutMiddleware()->get('/')->assertSee('laravel');
2 changes: 1 addition & 1 deletion tests/ExceptionHandling.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php

use function Pest\Laravel\{withoutExceptionHandling};
use function Pest\Laravel\withoutExceptionHandling;

withoutExceptionHandling()->assertTrue(true);
2 changes: 1 addition & 1 deletion tests/Http.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php

use function Pest\Laravel\{get};
use function Pest\Laravel\get;

get('/')->assertSee('laravel');

0 comments on commit 7dd98c0

Please sign in to comment.