1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 14:14:04 +00:00

specify full laravel versions to support using dev-master in PRs

This commit is contained in:
Samuel Štancl 2023-02-21 17:47:25 +01:00 committed by GitHub
parent 858249759f
commit e531f96c4b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -16,10 +16,10 @@ jobs:
strategy: strategy:
matrix: matrix:
include: include:
- laravel: 9 - laravel: "^9.0"
php: "8.0" php: "8.0"
- laravel: 10 - laravel: "^10.0"
php: "8.1" php: "8.2"
steps: steps:
- name: Checkout - name: Checkout
@ -27,7 +27,7 @@ jobs:
- name: Install Composer dependencies - name: Install Composer dependencies
run: | run: |
composer require "laravel/framework:^${{ matrix.laravel }}.0" --no-interaction --no-update composer require "laravel/framework:${{ matrix.laravel }}" --no-interaction --no-update
composer update --prefer-dist --no-interaction composer update --prefer-dist --no-interaction
- name: Run tests - name: Run tests
run: ./vendor/bin/pest run: ./vendor/bin/pest