Skip to content

Commit

Permalink
update package.json && update coding-standard
Browse files Browse the repository at this point in the history
  • Loading branch information
reyptr27 committed Jul 30, 2024
1 parent a17421c commit 511c8ab
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 11 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/coding-standards.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@

name: "Coding Standards"

on: [push]

jobs:
coding-standards:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -59,15 +60,15 @@ jobs:
restore-keys: "php-${{ matrix.php-version }}-composer-"

- name: "Install locked dependencies with composer"
run: "composer install --no-interaction --no-progress --no-suggest"
run: "composer install --no-interaction --no-progress"

- name: "Create cache directory for friendsofphp/php-cs-fixer"
run: mkdir -p .build/php-cs-fixer

- name: "Cache cache directory for friendsofphp/php-cs-fixer"
uses: "actions/cache@v2"
with:
path: "~/.build/php-cs-fixer"
path: ".build/php-cs-fixer"
key: "php-${{ matrix.php-version }}-php-cs-fixer-${{ github.sha }}"
restore-keys: "php-${{ matrix.php-version }}-php-cs-fixer-"

Expand All @@ -76,8 +77,3 @@ jobs:

- name: "Run friendsofphp/php-cs-fixer"
run: "composer php-cs-fixer"

- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Fix styling
2 changes: 1 addition & 1 deletion app/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"inertiajs/inertia-laravel": "^0.6.9",
"laravel/breeze": "^1.9",
"laravel/dusk": "^7.0",
"laravel/framework": "^10.0",
"laravel/framework": "^11.0",
"laravel/sanctum": "^2.8|^3.0",
"laravel/tinker": "^2.7",
"reyptr27/laravel-inertia-table": "@dev",
Expand Down
3 changes: 1 addition & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@
"friendsofphp/php-cs-fixer": "^3.8",
"inertiajs/inertia-laravel": "^1.0",
"orchestra/testbench": "^9.0",
"phpunit/phpunit": "^11.0",
"spatie/laravel-query-builder": "^6.0"
"phpunit/phpunit": "^11.0"
},
"autoload": {
"psr-4": {
Expand Down

0 comments on commit 511c8ab

Please sign in to comment.