Skip to content

Commit

Permalink
Update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Tigrov committed Jul 27, 2024
1 parent a8529da commit 6746963
Show file tree
Hide file tree
Showing 5 changed files with 45 additions and 83 deletions.
25 changes: 11 additions & 14 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,19 @@
on:
pull_request:
paths-ignore:
- 'docs/**'
- 'README.md'
- 'CHANGELOG.md'
- '.gitignore'
- '.gitattributes'
- 'infection.json.dist'
paths:
- 'src/**'
- 'tests/**'
- '.github/workflows/build.yml'
- 'composer.json'
- 'phpunit.xml.dist'

push:
branches: ['master']
paths-ignore:
- 'docs/**'
- 'README.md'
- 'CHANGELOG.md'
- '.gitignore'
- '.gitattributes'
- 'infection.json.dist'
paths:
- 'src/**'
- 'tests/**'
- '.github/workflows/build.yml'
- 'composer.json'
- 'phpunit.xml.dist'

name: build
Expand Down Expand Up @@ -45,6 +41,7 @@ jobs:
- 8.0
- 8.1
- 8.2
- 8.3

oracle:
- 18
Expand Down
27 changes: 9 additions & 18 deletions .github/workflows/composer-require-checker.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,16 @@
on:
pull_request:
paths-ignore:
- 'docs/**'
- 'README.md'
- 'CHANGELOG.md'
- '.gitignore'
- '.gitattributes'
- 'infection.json.dist'
- 'phpunit.xml.dist'
- 'psalm.xml'
paths:
- 'src/**'
- '.github/workflows/composer-require-checker.yml'
- 'composer.json'

push:
branches: ['master']
paths-ignore:
- 'docs/**'
- 'README.md'
- 'CHANGELOG.md'
- '.gitignore'
- '.gitattributes'
- 'infection.json.dist'
- 'phpunit.xml.dist'
- 'psalm.xml'
paths:
- 'src/**'
- '.github/workflows/composer-require-checker.yml'
- 'composer.json'

name: Composer require checker

Expand All @@ -46,6 +36,7 @@ jobs:
- 8.0
- 8.1
- 8.2
- 8.3

steps:
- name: Checkout.
Expand Down
24 changes: 9 additions & 15 deletions .github/workflows/mutation.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,16 @@
on:
pull_request:
paths-ignore:
- 'docs/**'
- 'README.md'
- 'CHANGELOG.md'
- '.gitignore'
- '.gitattributes'
- 'psalm.xml'
paths:
- 'src/**'
- '.github/workflows/mutation.yml'
- 'composer.json'

push:
branches: ['master']
paths-ignore:
- 'docs/**'
- 'README.md'
- 'CHANGELOG.md'
- '.gitignore'
- '.gitattributes'
- 'psalm.xml'
paths:
- 'src/**'
- '.github/workflows/mutation.yml'
- 'composer.json'

name: mutation

Expand All @@ -40,7 +34,7 @@ jobs:
- ubuntu-latest

php:
- 8.1
- 8.3

services:
oci:
Expand Down
26 changes: 6 additions & 20 deletions .github/workflows/rector.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,10 @@
on:
pull_request:
paths-ignore:
- 'docs/**'
- 'README.md'
- 'CHANGELOG.md'
- '.gitignore'
- '.gitattributes'
- 'infection.json.dist'
- 'psalm.xml'

push:
branches: ['master']
paths-ignore:
- 'docs/**'
- 'README.md'
- 'CHANGELOG.md'
- '.gitignore'
- '.gitattributes'
- 'infection.json.dist'
- 'psalm.xml'
paths:
- 'src/**'
- '.github/workflows/rector.yml'
- 'composer.json'
- 'rector.php'

name: rector

Expand All @@ -33,4 +19,4 @@ jobs:
os: >-
['ubuntu-latest']
php: >-
['8.0']
['8.3']
26 changes: 10 additions & 16 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,18 @@
on:
pull_request:
paths-ignore:
- 'docs/**'
- 'README.md'
- 'CHANGELOG.md'
- '.gitignore'
- '.gitattributes'
- 'infection.json.dist'
- 'phpunit.xml.dist'
paths:
- 'src/**'
- '.github/workflows/static.yml'
- 'psalm*.xml'
- 'composer.json'

push:
branches: ['master']
paths-ignore:
- 'docs/**'
- 'README.md'
- 'CHANGELOG.md'
- '.gitignore'
- '.gitattributes'
- 'infection.json.dist'
- 'phpunit.xml.dist'
paths:
- 'src/**'
- '.github/workflows/static.yml'
- 'psalm*.xml'
- 'composer.json'

name: static analysis

Expand Down

0 comments on commit 6746963

Please sign in to comment.