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
27 changes: 27 additions & 0 deletions .github/workflows/bc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: backwards compatibility

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

permissions:
contents: read

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
roave_bc_check:
uses: yiisoft/actions/.github/workflows/bc.yml@master
with:
os: >-
['ubuntu-latest']
php: >-
['8.5']
33 changes: 0 additions & 33 deletions .github/workflows/bc.yml_

This file was deleted.

33 changes: 12 additions & 21 deletions .github/workflows/composer-require-checker.yml
Original file line number Diff line number Diff line change
@@ -1,32 +1,23 @@
name: Composer require checker

on:
pull_request:
paths-ignore:
- 'docs/**'
- 'README.md'
- 'CHANGELOG.md'
- '.gitignore'
- '.gitattributes'
- 'infection.json.dist'
- 'phpunit.xml.dist'
- 'psalm.xml'

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

name: Composer require checker
paths: *paths

permissions:
contents: read

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
composer-require-checker:
uses: yiisoft/actions/.github/workflows/composer-require-checker.yml@master
Expand Down
17 changes: 7 additions & 10 deletions .github/workflows/mssql.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,24 @@
name: mssql

on:
pull_request:
paths:
paths: &paths
- 'src/**'
- 'tests/**'
- '.github/workflows/mssql.yml'
- 'composer.json'
- 'phpunit.xml.dist'
push:
branches: ['master']
paths:
- 'src/**'
- 'tests/**'
- '.github/workflows/mssql.yml'
- 'composer.json'
- 'phpunit.xml.dist'
name: mssql
paths: *paths

permissions:
contents: read

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions:
contents: read
jobs:
tests:
permissions:
Expand Down
31 changes: 14 additions & 17 deletions .github/workflows/mutation.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,25 @@
name: mutation test

on:
pull_request:
paths-ignore:
- 'docs/**'
- 'README.md'
- 'CHANGELOG.md'
- '.gitignore'
- '.gitattributes'
- 'psalm.xml'

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

name: mutation test
paths: *paths

permissions:
contents: read

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
mutation:
uses: yiisoft/actions/.github/workflows/roave-infection.yml@master
Expand Down
32 changes: 11 additions & 21 deletions .github/workflows/mysql.yml
Original file line number Diff line number Diff line change
@@ -1,34 +1,24 @@
name: mysql

on:
pull_request:
paths-ignore:
- 'docs/**'
- 'README.md'
- 'CHANGELOG.md'
- '.gitignore'
- '.gitattributes'
- 'infection.json.dist'
- 'psalm.xml'

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

name: mysql
permissions:
contents: read

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions:
contents: read

jobs:
tests:
name: PHP ${{ matrix.php }}-mysql-${{ matrix.mysql.version }}
Expand Down
32 changes: 11 additions & 21 deletions .github/workflows/pgsql.yml
Original file line number Diff line number Diff line change
@@ -1,34 +1,24 @@
name: pgsql

on:
pull_request:
paths-ignore:
- 'docs/**'
- 'README.md'
- 'CHANGELOG.md'
- '.gitignore'
- '.gitattributes'
- 'infection.json.dist'
- 'psalm.xml'

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

name: pgsql
permissions:
contents: read

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions:
contents: read

jobs:
tests:
name: PHP ${{ matrix.php }}-pgsql-${{ matrix.pgsql.version }}
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/rector-cs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ concurrency:

jobs:
rector:
permissions:
contents: write # Required to commit formatting fixes back to the PR
uses: yiisoft/actions/.github/workflows/rector-cs.yml@master
with:
php: '8.1'
33 changes: 12 additions & 21 deletions .github/workflows/sqlite.yml
Original file line number Diff line number Diff line change
@@ -1,33 +1,24 @@
name: sqlite

on:
pull_request:
paths-ignore:
- 'docs/**'
- 'README.md'
- 'CHANGELOG.md'
- '.gitignore'
- '.gitattributes'
- 'infection.json.dist'
- 'psalm.xml'

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

name: sqlite
permissions:
contents: read

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions:
contents: read

jobs:
phpunit:
name: PHP ${{ matrix.php }}-${{ matrix.os }}
Expand Down
31 changes: 12 additions & 19 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
@@ -1,30 +1,23 @@
name: static analysis

on:
pull_request:
paths-ignore:
- 'docs/**'
- 'README.md'
- 'CHANGELOG.md'
- '.gitignore'
- '.gitattributes'
- 'infection.json.dist'
- 'phpunit.xml.dist'

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

name: static analysis
paths: *paths

permissions:
contents: read

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
psalm:
uses: yiisoft/actions/.github/workflows/psalm.yml@master
Expand Down
Loading
Loading