Skip to content

Commit

Permalink
Update laravel.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
amirHossein5 authored Mar 14, 2022
1 parent 556b83d commit 168cf3a
Showing 1 changed file with 10 additions and 15 deletions.
25 changes: 10 additions & 15 deletions .github/workflows/laravel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
fail-fast: true
matrix:
php: ['8.0', '8.1']
laravel: [9.*, 8.*]

steps:
- name: Checkout code
Expand All @@ -30,11 +31,9 @@ jobs:
coverage: none

- name: Install dependencies
uses: nick-invision/retry@v1
with:
timeout_minutes: 5
max_attempts: 5
command: composer install -q --no-ansi --prefer-dist --no-interaction --no-progress
run: |
composer require "laravel/framework:${{ matrix.laravel }}" --no-interaction --no-update
composer update --prefer-dist --no-progress --prefer-stable
- name: Create Database
run: |
Expand Down Expand Up @@ -69,11 +68,9 @@ jobs:
coverage: none

- name: Install dependencies
uses: nick-invision/retry@v1
with:
timeout_minutes: 5
max_attempts: 5
command: composer install -q --no-ansi --prefer-dist --no-interaction --no-progress
run: |
composer require "laravel/framework:${{ matrix.laravel }}" --no-interaction --no-update
composer update --prefer-dist --no-progress --prefer-stable
- name: Create Database
run: |
Expand Down Expand Up @@ -108,11 +105,9 @@ jobs:
coverage: none

- name: Install dependencies
uses: nick-invision/retry@v1
with:
timeout_minutes: 5
max_attempts: 5
command: composer install -q --no-ansi --prefer-dist --no-interaction --no-progress
run: |
composer require "laravel/framework:${{ matrix.laravel }}" --no-interaction --no-update
composer update --prefer-dist --no-progress --prefer-stable
- name: Create Database
run: |
Expand Down

0 comments on commit 168cf3a

Please sign in to comment.