Skip to content

Commit

Permalink
Ah! x2
Browse files Browse the repository at this point in the history
  • Loading branch information
Lukasss93 committed Mar 10, 2024
1 parent df41e4c commit f1bc1e5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 12 deletions.
16 changes: 5 additions & 11 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,17 @@ jobs:
matrix:
php: [ 8.2, 8.3 ]
laravel: [9.*, 10.*, 11.*]
termwind: [1.*, 2.*]
include:
- laravel: 11.*
testbench: 9.*
termwind: 2.*
- laravel: 10.*
testbench: 8.*
termwind: 1.*
- laravel: 9.*
testbench: 7.*
termwind: 1.*

name: PHP ${{ matrix.php }} + Laravel ${{ matrix.laravel }}
steps:
Expand All @@ -32,19 +36,9 @@ jobs:
- name: Validate composer.json and composer.lock
run: composer validate

- name: Cache Composer packages
id: composer-cache
uses: actions/cache@v2
with:
path: vendor
key: ${{ runner.os }}-php-${{ matrix.php }}-laravel-${{ matrix.laravel }}-${{ hashFiles('**/composer.json') }}
restore-keys: |
${{ runner.os }}-php-${{ matrix.php }}-laravel-${{ matrix.laravel }}-
- name: Install dependencies
if: steps.composer-cache.outputs.cache-hit != 'true'
run: |
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" "nunomaduro/termwind:${{ matrix.termwind }}" --no-interaction --no-update
composer update --prefer-dist --no-interaction --no-suggest
- name: Run test suite
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"prefer-stable": true,
"require": {
"php": "^8.2",
"nunomaduro/termwind": "^2.0",
"nunomaduro/termwind": "^1.0|^2.0",
"nutgram/nutgram": "^4.11.0"
},
"require-dev": {
Expand Down

0 comments on commit f1bc1e5

Please sign in to comment.