feat!: Add exception to onVerificationFailed callback, improve error handling, add API Guard to CI #79
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: Dev - ↩️ pull request | |
| on: | |
| pull_request: | |
| branches: | |
| - dev | |
| jobs: | |
| validate_pr: | |
| permissions: | |
| pull-requests: write | |
| uses: VeryGoodOpenSource/very_good_workflows/.github/workflows/semantic_pull_request.yml@v1 | |
| build_example: | |
| name: Build Example | |
| needs: validate_pr | |
| runs-on: macos-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Setup Dart | |
| uses: dart-lang/setup-dart@v1 | |
| - name: Prepare Flutter | |
| uses: emdgroup/mtrust-urp/.github/shared_actions/prepare-flutter@dev | |
| with: | |
| directory: example | |
| - name: Run static analysis | |
| run: | | |
| cd example | |
| flutter analyze --no-fatal-warnings | |
| shell: bash | |
| - name: Check licenses | |
| uses: emdgroup/mtrust-urp/.github/shared_actions/check-dart-licenses@dev | |
| with: | |
| directory: example | |
| build_library: | |
| name: Build Library | |
| needs: validate_pr | |
| runs-on: macos-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Setup Dart | |
| uses: dart-lang/setup-dart@v1 | |
| - name: Prepare Flutter | |
| uses: emdgroup/mtrust-urp/.github/shared_actions/prepare-flutter@dev | |
| with: | |
| directory: . | |
| - name: Validate Flutter | |
| uses: emdgroup/mtrust-urp/.github/shared_actions/validate-flutter@dev | |
| with: | |
| directory: . | |
| is_package: true | |
| - name: Check licenses | |
| uses: emdgroup/mtrust-urp/.github/shared_actions/check-dart-licenses@dev | |
| with: | |
| directory: . | |
| api-guard: | |
| if: ${{ github.actor != 'dependabot[bot]' }} | |
| uses: emdgroup/mtrust-api-guard/.github/workflows/pr_workflow.yaml@main |