Skip to content

Commit

Permalink
Merge pull request #12 from dystcz/feature/upgrade-to-lunar-api-1.0.0…
Browse files Browse the repository at this point in the history
…-alpha

Upgrade to lunar-api-1.0.0-alpha
  • Loading branch information
repl6669 authored May 1, 2024
2 parents f85a99a + b90fdef commit 8c134de
Show file tree
Hide file tree
Showing 7 changed files with 3,088 additions and 1,911 deletions.
14 changes: 14 additions & 0 deletions .env.ci
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
APP_NAME=Laravel
APP_ENV=testing
APP_KEY=AckfSECXIvnK5r28GVIWUAxmbBSjTsmF
APP_DEBUG=true
APP_URL=http://localhost

DB_CONNECTION="sqlite"
DB_DATABASE=":memory:"

REDIS_HOST=127.0.0.1
REDIS_PASSWORD=
REDIS_PORT=6379

PAYMENTS_TYPE=stripe
4 changes: 2 additions & 2 deletions .env.testing.example
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ APP_URL=http://localhost
DB_CONNECTION="sqlite"
DB_DATABASE=":memory:"

REDIS_HOST=redis
REDIS_PASSWORD=secret_redis
REDIS_HOST=127.0.0.1
REDIS_PASSWORD=
REDIS_PORT=6379

PAYMENTS_TYPE=stripe
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/fix-php-code-style-issues.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Fix PHP code style issues
on:
push:
paths:
- '**.php'
- "**.php"

permissions:
contents: write
Expand Down
26 changes: 0 additions & 26 deletions .github/workflows/phpstan.yaml

This file was deleted.

10 changes: 3 additions & 7 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,9 @@ jobs:
runs-on: ubuntu-latest

strategy:
fail-fast: true
matrix:
php: [8.2]
laravel: [10]

environment: testing

php: [8.2, 8.3]
laravel: [11]
steps:
- name: Checkout Code
uses: actions/checkout@v3
Expand Down Expand Up @@ -56,4 +52,4 @@ jobs:
command: composer update --prefer-dist --no-interaction --no-progress

- name: Execute tests
run: vendor/bin/pest
run: composer test
16 changes: 6 additions & 10 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,23 +21,19 @@
],
"require": {
"php": "^8.2",
"dystcz/lunar-api": "^0.8",
"illuminate/contracts": "^10.0",
"lunarphp/stripe": "^0.8.0",
"dystcz/lunar-api": "^1.0.0-alpha",
"illuminate/support": "^11.0",
"lunarphp/stripe": "^1.0.0-alpha",
"spatie/laravel-stripe-webhooks": "^3.6"
},
"require-dev": {
"laravel-json-api/testing": "^3.0",
"laravel/pint": "^1.7",
"nunomaduro/larastan": "^2.5.1",
"orchestra/testbench": "^8.8",
"orchestra/testbench": "^9.0",
"pestphp/pest": "^2.0",
"pestphp/pest-plugin-arch": "^2.0",
"pestphp/pest-plugin-laravel": "^2.0",
"phpstan/extension-installer": "^1.1",
"phpstan/phpstan-deprecation-rules": "^1.0",
"phpstan/phpstan-phpunit": "^1.0",
"spatie/laravel-ray": "^1.26",
"laravel-json-api/testing": "^2.1"
"spatie/laravel-ray": "^1.26"
},
"autoload": {
"psr-4": {
Expand Down
Loading

0 comments on commit 8c134de

Please sign in to comment.