Skip to content

Commit

Permalink
update package version
Browse files Browse the repository at this point in the history
  • Loading branch information
miftahurrahmi committed Sep 3, 2024
1 parent c7d2517 commit 282a1a8
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 20 deletions.
32 changes: 14 additions & 18 deletions .github/workflows/phpstan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,43 +26,39 @@ jobs:
name: "PHP ${{ matrix.php }} / Laravel ${{ matrix.laravel }}"

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@master

# Configure PHP
- name: Set up PHP with required extensions
uses: shivammathur/setup-php@v2
- name: Select PHP version
uses: shivammathur/setup-php@master
with:
php-version: ${{ matrix.php }}
php-version: "${{ matrix.php }}"
extensions: mbstring, pdo_sqlite, fileinfo, gd, php_pgsql
coverage: none

# Install legacy factories for Laravel 8/9
- name: Install Laravel Project
- name: Install legacy factories for Laravel
run: composer create-project laravel/laravel:^${{matrix.laravel-require}} laravel

# Display installed laravel version
- name: Show Laravel Version
run: cd laravel && composer show laravel/framework

# Install dependencies with composer
- name: Install dependencies with composer
run: cd laravel && composer install --prefer-dist --no-interaction
- name: Show laravel version
run: cd laravel &&
composer show laravel/framework

# Laravel require badaso core
- name: Laravel file configuration
run: |
git branch &&
cd laravel &&
composer require badaso/core:dev-${GITHUB_HEAD_REF} --ignore-platform-reqs --with-all-dependencies
composer require badaso/core:dev-${GITHUB_HEAD_REF} -W &&
composer update --no-interaction -W
# Laravel setup
- name: Laravel setup
run: cd laravel && php artisan badaso:setup --force

# Check installed dependencies (for debugging)
- name: Check installed dependencies
run: cd laravel && composer show
run: cd laravel &&
php artisan badaso:setup --force

# Badaso Core Test PHPStan
- name: Badaso core test PHPStan
run: cd laravel && ./vendor/bin/phpstan analyse -c vendor/badaso/core/phpstan.neon.dist
run: cd laravel &&
./vendor/bin/phpstan analyse -c vendor/badaso/core/phpstan.neon.dist
3 changes: 2 additions & 1 deletion .github/workflows/phpunit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@ jobs:
- name: Laravel file configuration
run: git branch &&
cd laravel &&
composer require badaso/core:dev-${GITHUB_HEAD_REF} --ignore-platform-reqs -W
composer require badaso/core:dev-${GITHUB_HEAD_REF} -W &&
composer update --no-interaction -W

# Mysql | Laravel setup
- name: Mysql | Laravel setup
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"webpatser/laravel-uuid": "4.0.1",
"predis/predis": "2.1.2",
"guzzlehttp/guzzle": "7.5.1",
"zircote/swagger-php": "3.*",
"zircote/swagger-php": "3.3.7",
"doctrine/dbal": "2.13.9",
"league/flysystem-aws-s3-v3": "1.0.29",
"league/flysystem": "1.1.10"
Expand Down

0 comments on commit 282a1a8

Please sign in to comment.