Skip to content

feat!: Add exception to onVerificationFailed callback, improve error handling, add API Guard to CI #84

feat!: Add exception to onVerificationFailed callback, improve error handling, add API Guard to CI

feat!: Add exception to onVerificationFailed callback, improve error handling, add API Guard to CI #84

Workflow file for this run

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:
uses: emdgroup/mtrust-api-guard/.github/workflows/pr_workflow.yaml@main
with:
pre_release: true