[#17] - fluent builder improve sdk usability #17
Workflow file for this run
This file contains hidden or 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: pipeline ci/cd — trigger pull request quality assurance | |
| on: | |
| pull_request: | |
| branches: | |
| - master | |
| jobs: | |
| changes: | |
| runs-on: ubuntu-latest | |
| outputs: | |
| federation_backend: ${{ steps.filter.outputs.federation_backend }} | |
| federation_proxy: ${{ steps.filter.outputs.federation_proxy }} | |
| federation_contracts: ${{ steps.filter.outputs.federation_contracts }} | |
| federation_sdk: ${{ steps.filter.outputs.federation_sdk }} | |
| steps: | |
| - name: checkout | |
| uses: actions/checkout@v5 | |
| - name: detect changed paths | |
| id: filter | |
| uses: dorny/paths-filter@v4 | |
| with: | |
| filters: | | |
| federation_backend: | |
| - 'Applications/Backend/**' | |
| federation_proxy: | |
| - 'Applications/Proxy/**' | |
| federation_contracts: | |
| - 'Packages/Federation.Sdk.Contracts/**' | |
| federation_sdk: | |
| - 'Packages/Federation.Sdk/**' | |
| # run build and tests for federation backend if there are changes in the corresponding path | |
| quality-assurance-backend: | |
| needs: changes | |
| if: needs.changes.outputs.federation_backend == 'true' | |
| uses: ./.github/workflows/template-quality-assurance.yml | |
| with: | |
| service_path: Applications/Backend | |
| # run build and tests for federation proxy if there are changes in the corresponding path | |
| quality-assurance-proxy: | |
| needs: changes | |
| if: needs.changes.outputs.federation_proxy == 'true' | |
| uses: ./.github/workflows/template-quality-assurance.yml | |
| with: | |
| service_path: Applications/Proxy | |
| # run build and tests for federation contracts if there are changes in the corresponding path | |
| quality-assurance-contracts: | |
| needs: changes | |
| if: needs.changes.outputs.federation_contracts == 'true' | |
| uses: ./.github/workflows/template-quality-assurance.yml | |
| with: | |
| service_path: Packages/Federation.Sdk.Contracts | |
| # run build and tests for federation sdk if there are changes in the corresponding path | |
| quality-assurance-sdk: | |
| needs: changes | |
| if: needs.changes.outputs.federation_sdk == 'true' | |
| uses: ./.github/workflows/template-quality-assurance.yml | |
| with: | |
| service_path: Packages/Federation.Sdk |