Skip to content

Commit

Permalink
Fix workflow targets
Browse files Browse the repository at this point in the history
  • Loading branch information
sixlive committed Oct 11, 2024
1 parent e95bc96 commit 3be82e0
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 13 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/formatting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,14 @@ name: Formatting

on:
push:
paths:
- "**.php"
- ".github/workflows/formatting.yml"
paths-ignore:
- "docs/**"
- "README.md"
pull_request:
types: [ready_for_review, synchronize, opened]
paths-ignore:
- "docs/**"
- "README.md"

env:
phpv: 8.3
Expand Down
12 changes: 8 additions & 4 deletions .github/workflows/phpstan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,14 @@ name: PHPStan

on:
push:
paths:
- "**.php"
- "phpstan.neon.dist"
- ".github/workflows/phpstan.yml"
paths-ignore:
- "docs/**"
- "README.md"
pull_request:
types: [ready_for_review, synchronize, opened]
paths-ignore:
- "docs/**"
- "README.md"

env:
phpv: 8.3
Expand Down
14 changes: 8 additions & 6 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,14 @@ name: Tests

on:
push:
paths:
- "**.php"
- ".github/workflows/tests.yml"
- "phpunit.xml.dist"
- "composer.json"
- "composer.lock"
paths-ignore:
- "docs/**"
- "README.md"
pull_request:
types: [ready_for_review, synchronize, opened]
paths-ignore:
- "docs/**"
- "README.md"

jobs:
test:
Expand Down

0 comments on commit 3be82e0

Please sign in to comment.