Upgrade PHPStan to 2.0 (#1256) #1577
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 'Packages Split' | |
on: | |
push: | |
branches: | |
- 1.x | |
tags: | |
- '*' | |
paths-ignore: | |
- 'CHANGELOG.md' | |
env: | |
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }} | |
jobs: | |
packages_split: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
# define package to repository map | |
package: | |
- local_path: 'src/core/etl' | |
split_repository: 'etl' | |
- local_path: 'src/cli' | |
split_repository: 'cli' | |
- local_path: 'src/lib/array-dot' | |
split_repository: 'array-dot' | |
- local_path: 'src/lib/azure-sdk' | |
split_repository: 'azure-sdk' | |
- local_path: 'src/lib/doctrine-dbal-bulk' | |
split_repository: 'doctrine-dbal-bulk' | |
- local_path: 'src/lib/parquet' | |
split_repository: 'parquet' | |
- local_path: 'src/lib/parquet-viewer' | |
split_repository: 'parquet-viewer' | |
- local_path: 'src/lib/dremel' | |
split_repository: 'dremel' | |
- local_path: 'src/lib/filesystem' | |
split_repository: 'filesystem' | |
- local_path: 'src/lib/rdsl' | |
split_repository: 'rdsl' | |
- local_path: 'src/lib/snappy' | |
split_repository: 'snappy' | |
- local_path: 'src/adapter/etl-adapter-avro' | |
split_repository: 'etl-adapter-avro' | |
- local_path: 'src/adapter/etl-adapter-chartjs' | |
split_repository: 'etl-adapter-chartjs' | |
- local_path: 'src/adapter/etl-adapter-csv' | |
split_repository: 'etl-adapter-csv' | |
- local_path: 'src/adapter/etl-adapter-doctrine' | |
split_repository: 'etl-adapter-doctrine' | |
- local_path: 'src/adapter/etl-adapter-elasticsearch' | |
split_repository: 'etl-adapter-elasticsearch' | |
- local_path: 'src/adapter/etl-adapter-meilisearch' | |
split_repository: 'etl-adapter-meilisearch' | |
- local_path: 'src/adapter/etl-adapter-google-sheet' | |
split_repository: 'etl-adapter-google-sheet' | |
- local_path: 'src/adapter/etl-adapter-http' | |
split_repository: 'etl-adapter-http' | |
- local_path: 'src/adapter/etl-adapter-json' | |
split_repository: 'etl-adapter-json' | |
- local_path: 'src/adapter/etl-adapter-logger' | |
split_repository: 'etl-adapter-logger' | |
- local_path: 'src/adapter/etl-adapter-parquet' | |
split_repository: 'etl-adapter-parquet' | |
- local_path: 'src/adapter/etl-adapter-text' | |
split_repository: 'etl-adapter-text' | |
- local_path: 'src/adapter/etl-adapter-xml' | |
split_repository: 'etl-adapter-xml' | |
- local_path: 'src/bridge/filesystem/azure' | |
split_repository: 'filesystem-azure-bridge' | |
- local_path: 'src/bridge/monolog/http' | |
split_repository: 'monolog-http-bridge' | |
- local_path: 'src/bridge/symfony/http-foundation' | |
split_repository: 'symfony-http-foundation-bridge' | |
- local_path: 'src/tools/homebrew' | |
split_repository: 'homebrew-flow' | |
steps: | |
- uses: actions/checkout@v4 | |
# no tag | |
- | |
if: "!startsWith(github.ref, 'refs/tags/')" | |
uses: "danharrin/[email protected]" | |
with: | |
package_directory: '${{ matrix.package.local_path }}' | |
branch: 1.x | |
repository_organization: 'flow-php' | |
repository_name: '${{ matrix.package.split_repository }}' | |
user_name: "norberttech" | |
user_email: "[email protected]" | |
# with tag | |
- | |
if: "startsWith(github.ref, 'refs/tags/')" | |
uses: "danharrin/[email protected]" | |
with: | |
tag: ${GITHUB_REF#refs/tags/} | |
package_directory: '${{ matrix.package.local_path }}' | |
branch: 1.x | |
repository_organization: 'flow-php' | |
repository_name: '${{ matrix.package.split_repository }}' | |
user_name: "norberttech" | |
user_email: "[email protected]" |