Skip to content

Commit

Permalink
Merge pull request #5 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 dd195ba + 560eb91 commit fae1f02
Show file tree
Hide file tree
Showing 11 changed files with 3,403 additions and 2,023 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/fix-php-code-style-issues.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Fix PHP code style issues

on:
push:
paths:
- "**.php"

permissions:
contents: write

jobs:
php-code-styling:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v3
with:
ref: ${{ github.head_ref }}

- name: Fix PHP code style issues
uses: aglipanci/[email protected]

- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Fix styling
20 changes: 0 additions & 20 deletions .github/workflows/laravel-pint-code-style.yaml

This file was deleted.

11 changes: 4 additions & 7 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
@@ -1,18 +1,15 @@
name: Run tests
name: Tests

on:
pull_request:
jobs:
build:

runs-on: ubuntu-latest

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

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

- name: Execute tests
run: vendor/bin/pest
run: composer test
51 changes: 0 additions & 51 deletions .github/workflows/tests.yml

This file was deleted.

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ composer.phar
.DS_Store
/.idea
.phpunit.result.cache
.phpunit.cache
.php-cs-fixer.cache
/node_modules
Session.vim
Expand Down
12 changes: 4 additions & 8 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,21 +21,17 @@
],
"require": {
"php": "^8.2",
"dystcz/lunar-api": "^0.8",
"illuminate/support": "^10.0",
"spatie/laravel-newsletter": "^5.1"
"dystcz/lunar-api": "^1.0.0-alpha",
"illuminate/support": "^11.0"
},
"require-dev": {
"driftingly/rector-laravel": "^0.17.0",
"laravel-json-api/testing": "^2.1",
"laravel-json-api/testing": "^3.0",
"laravel/pint": "^1.7",
"mockery/mockery": "^1.5",
"nunomaduro/larastan": "^2.5.1",
"orchestra/testbench": "^8.0",
"orchestra/testbench": "^9.0",
"pestphp/pest": "^2.0",
"pestphp/pest-plugin-faker": "^2.0",
"pestphp/pest-plugin-laravel": "^2.0",
"rector/rector": "^0.15.23",
"spatie/laravel-ray": "^1.32"
},
"autoload": {
Expand Down
Loading

0 comments on commit fae1f02

Please sign in to comment.