diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a1eb324..1f017a1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 @@ -34,22 +30,25 @@ jobs: COMPOSER_ROOT_VERSION: 1.0.0 EXTENSIONS: pdo, pdo_oci - runs-on: ${{ matrix.os }} + runs-on: ubuntu-latest strategy: matrix: - os: - - ubuntu-latest - php: - - 8.0 - - 8.1 - - 8.2 + - 8.3 oracle: - 18 - 21 + include: + - php: 8.0 + oracle: 21 + - php: 8.1 + oracle: 21 + - php: 8.2 + oracle: 21 + services: oci: image: gvenzl/oracle-xe:${{ matrix.oracle }} diff --git a/.github/workflows/composer-require-checker.yml b/.github/workflows/composer-require-checker.yml index b69b783..e1348e4 100644 --- a/.github/workflows/composer-require-checker.yml +++ b/.github/workflows/composer-require-checker.yml @@ -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 @@ -46,6 +36,7 @@ jobs: - 8.0 - 8.1 - 8.2 + - 8.3 steps: - name: Checkout. diff --git a/.github/workflows/mutation.yml b/.github/workflows/mutation.yml index f1dcea6..40741f4 100644 --- a/.github/workflows/mutation.yml +++ b/.github/workflows/mutation.yml @@ -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 @@ -40,7 +34,7 @@ jobs: - ubuntu-latest php: - - 8.1 + - 8.3 services: oci: diff --git a/.github/workflows/rector.yml b/.github/workflows/rector.yml index 31bc35d..73c9d27 100644 --- a/.github/workflows/rector.yml +++ b/.github/workflows/rector.yml @@ -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 @@ -33,4 +19,4 @@ jobs: os: >- ['ubuntu-latest'] php: >- - ['8.0'] + ['8.3'] diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index 352a019..fa0c362 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -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