Skip to content

Commit

Permalink
update action
Browse files Browse the repository at this point in the history
  • Loading branch information
ph7jack committed Mar 14, 2023
1 parent 6b448b4 commit cc46801
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ on:
pull_request:
types: [ready_for_review, synchronize, opened]

workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -44,9 +46,11 @@ jobs:

- name: Install Composer dependencies
run: |
composer install
composer require "laravel/framework:${{ matrix.laravel }}" --no-interaction
composer require "laravel/framework:${{ matrix.laravel }}" --no-interaction --no-update
composer update --no-interaction --no-suggest
- name: Run PHPUnit tests and Check code style
run: composer verify
- name: Run PHPUnit tests
run: composer test

- name: Check code style
run: composer verify
3 changes: 1 addition & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,7 @@
"generate-icons": "./generate-icons.sh",
"verify": [
"@pint:check",
"@phpstan",
"@test"
"@phpstan"
]
},
"autoload": {
Expand Down

0 comments on commit cc46801

Please sign in to comment.