Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update workflows #343

Merged
merged 2 commits into from
Jul 28, 2024
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
33 changes: 15 additions & 18 deletions .github/workflows/ansi-mode.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,20 @@
on:
pull_request:
paths-ignore:
- 'docs/**'
- 'README.md'
- 'CHANGELOG.md'
- '.gitignore'
- '.gitattributes'
- 'infection.json.dist'
- 'psalm.xml'
paths:
- 'src/**'
- 'tests/**'
- '.github/workflows/ansi-mode.yml'
- 'composer.json'
- 'phpunit.xml.dist'

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

name: ansi-mode

Expand All @@ -37,10 +34,10 @@ jobs:
- ubuntu-latest

php:
- 8.0
- 8.3

mysql:
- mysql:8.0.29
- mysql:latest

services:
mysql:
Expand Down
46 changes: 23 additions & 23 deletions .github/workflows/build-mariadb.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,20 @@
on:
pull_request:
paths-ignore:
- 'docs/**'
- 'README.md'
- 'CHANGELOG.md'
- '.gitignore'
- '.gitattributes'
- 'infection.json.dist'
- 'psalm.xml'
paths:
- 'src/**'
- 'tests/**'
- '.github/workflows/build-mariadb.yml'
- 'composer.json'
- 'phpunit.xml.dist'

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

name: build-mariadb

Expand All @@ -29,17 +26,12 @@ jobs:
COMPOSER_ROOT_VERSION: 1.0.0
EXTENSIONS: pdo, pdo_mysql

runs-on: ${{ matrix.os }}
runs-on: ubuntu-latest

strategy:
matrix:
os:
- ubuntu-latest

php:
- 8.0
- 8.1
- 8.2
- 8.3

mariadb:
- mariadb:10.4
Expand All @@ -50,6 +42,14 @@ jobs:
- mariadb:10.9
- mariadb:latest

include:
- php: 8.0
mariadb: mariadb:latest
- php: 8.1
mariadb: mariadb:latest
- php: 8.2
mariadb: mariadb:latest

services:
mysql:
image: ${{ matrix.mariadb }}
Expand Down
46 changes: 23 additions & 23 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,20 @@
on:
pull_request:
paths-ignore:
- 'docs/**'
- 'README.md'
- 'CHANGELOG.md'
- '.gitignore'
- '.gitattributes'
- 'infection.json.dist'
- 'psalm.xml'
paths:
- 'src/**'
- 'tests/**'
- '.github/workflows/build.yml'
- 'composer.json'
- 'phpunit.xml.dist'

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

name: build

Expand All @@ -29,22 +26,25 @@ jobs:
COMPOSER_ROOT_VERSION: 1.0.0
EXTENSIONS: pdo, pdo_mysql

runs-on: ${{ matrix.os }}
runs-on: ubuntu-latest

strategy:
matrix:
os:
- ubuntu-latest

php:
- 8.0
- 8.1
- 8.2
- 8.3

mysql:
- mysql:5.7
- mysql:latest

include:
- php: 8.0
mysql: mysql:latest
- php: 8.1
mysql: mysql:latest
- php: 8.2
mysql: mysql:latest

services:
mysql:
image: ${{ matrix.mysql }}
Expand Down
28 changes: 10 additions & 18 deletions .github/workflows/composer-require-checker.yml
Original file line number Diff line number Diff line change
@@ -1,25 +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:
paths-ignore:
- 'docs/**'
- 'README.md'
- 'CHANGELOG.md'
- '.gitignore'
- '.gitattributes'
- 'infection.json.dist'
- 'phpunit.xml.dist'
- 'psalm.xml'
branches: ['master']
paths:
- 'src/**'
- '.github/workflows/composer-require-checker.yml'
- 'composer.json'

name: Composer require checker

Expand All @@ -41,6 +32,7 @@ jobs:
- 8.0
- 8.1
- 8.2
- 8.3

steps:
- name: Checkout.
Expand Down
25 changes: 10 additions & 15 deletions .github/workflows/mutation.yml
Original file line number Diff line number Diff line change
@@ -1,21 +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:
paths-ignore:
- 'docs/**'
- 'README.md'
- 'CHANGELOG.md'
- '.gitignore'
- '.gitattributes'
- 'psalm.xml'
branches: ['master']
paths:
- 'src/**'
- '.github/workflows/mutation.yml'
- 'composer.json'

name: mutation

Expand All @@ -35,7 +30,7 @@ jobs:
- ubuntu-latest

php:
- 8.1
- 8.3

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

push:
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 @@ -28,4 +15,4 @@ jobs:
os: >-
['ubuntu-latest']
php: >-
['8.0']
['8.3']
27 changes: 11 additions & 16 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
@@ -1,23 +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:
paths-ignore:
- 'docs/**'
- 'README.md'
- 'CHANGELOG.md'
- '.gitignore'
- '.gitattributes'
- 'infection.json.dist'
- 'phpunit.xml.dist'
branches: ['master']
paths:
- 'src/**'
- '.github/workflows/static.yml'
- 'psalm*.xml'
- 'composer.json'

name: static analysis

Expand Down
Loading