Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
TavoNiievez committed Jan 13, 2025
1 parent adc7510 commit 2b78a05
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Setup PHP
uses: shivammathur/setup-php@v2
Expand All @@ -33,7 +33,7 @@ jobs:

- name: Checkout Laravel 8 Sample
if: matrix.laravel == 8
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: codeception/laravel-module-tests
path: framework-tests
Expand All @@ -44,16 +44,14 @@ jobs:
run: echo "::set-output name=dir::$(composer config cache-files-dir)"

- name: Cache composer dependencies
uses: actions/cache@v2.1.3
uses: actions/cache@v3
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }}
restore-keys: ${{ runner.os }}-${{ matrix.php }}-composer-

- name: Install dependencies
run: |
composer require laravel/framework=${{ matrix.laravel }} --ignore-platform-req=php --no-update
composer install --prefer-dist --no-progress --ignore-platform-req=php
run: composer install --prefer-dist --no-progress

- name: Validate composer.json and composer.lock
run: composer validate
Expand Down

0 comments on commit 2b78a05

Please sign in to comment.