Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 4 additions & 7 deletions .github/workflows/bc.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,14 @@
name: backwards compatibility

on:
pull_request:
paths:
paths: &paths
- 'src/**'
- '.github/workflows/bc.yml'
- 'composer.json'
push:
branches: ['master']
paths:
- 'src/**'
- '.github/workflows/bc.yml'
- 'composer.json'

name: backwards compatibility
paths: *paths

permissions:
contents: read
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
name: build

on:
pull_request:
paths: &paths
Expand All @@ -6,12 +8,10 @@ on:
- '.github/workflows/build.yml'
- 'composer.json'
- 'phpunit.xml.dist'

push:
branches: ['master']
paths: *paths

name: build

permissions:
contents: read
Expand Down
13 changes: 4 additions & 9 deletions .github/workflows/composer-require-checker.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,15 @@
name: Composer require checker

on:
pull_request:
paths:
paths: &paths
- 'src/**'
- '.github/workflows/composer-require-checker.yml'
- 'composer.json'
- 'composer-require-checker.json'

push:
branches: ['master']
paths:
- 'src/**'
- '.github/workflows/composer-require-checker.yml'
- 'composer.json'
- 'composer-require-checker.json'

name: Composer require checker
paths: *paths

permissions:
contents: read
Expand Down
18 changes: 7 additions & 11 deletions .github/workflows/mutation.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,14 @@
name: mutation test

on:
pull_request:
paths:
paths: &paths
- 'src/**'
- '.github/workflows/mutation.yml'
- 'composer.json'

push:
branches: ['master']
paths:
- 'src/**'
- '.github/workflows/mutation.yml'
- 'composer.json'

name: mutation test
paths: *paths

permissions:
contents: read
Expand Down Expand Up @@ -52,20 +48,20 @@ jobs:

steps:
- name: Checkout.
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
with:
persist-credentials: false

- name: Install PHP with extensions.
uses: shivammathur/setup-php@b604ade2a87db23f8871b7182e69ec5e75effb45
uses: shivammathur/setup-php@34a5396826718e0013f08e3e639d1c315d5f6b23 # 2.35.0
with:
php-version: ${{ matrix.php }}
extensions: ${{ env.EXTENSIONS }}
ini-values: memory_limit=-1
coverage: pcov

- name: Install Composer dependencies
uses: ramsey/composer-install@a8d0d959dab41457692a5e2041bd9b757a119e3f
uses: ramsey/composer-install@a8d0d959dab41457692a5e2041bd9b757a119e3f # 3.2.1

- name: Install db.
uses: yiisoft/actions/install-packages@master
Expand Down
13 changes: 4 additions & 9 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,15 @@
name: Static analysis

on:
pull_request:
paths:
paths: &paths
- 'src/**'
- '.github/workflows/static.yml'
- 'psalm*.xml'
- 'composer.json'

push:
branches: ['master']
paths:
- 'src/**'
- '.github/workflows/static.yml'
- 'psalm*.xml'
- 'composer.json'

name: Static analysis
paths: *paths

permissions:
contents: read
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/zizmor.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
name: GitHub Actions Security Analysis with zizmor 🌈

on:
push:
paths:
- '.github/**.yml'
- '.github/**.yaml'
pull_request:
paths:
paths: &paths
- '.github/**.yml'
- '.github/**.yaml'
push:
branches: [ 'master' ]
paths: *paths

permissions:
contents: read
actions: read # Required by zizmor when reading workflow metadata through the API
contents: read # Required to read workflow files

jobs:
zizmor:
Expand Down
Loading