Skip to content

Merge pull request #174 from Workiva/use-gha-dart-oss #7

Merge pull request #174 from Workiva/use-gha-dart-oss

Merge pull request #174 from Workiva/use-gha-dart-oss #7

Workflow file for this run

name: CI
on:
push:
branches:
- 'master'
- 'test_consume_*'
pull_request:
branches:
- '**'
jobs:
build:
uses: Workiva/gha-dart-oss/.github/workflows/build.yaml@v0.1.11
checks:
uses: Workiva/gha-dart-oss/.github/workflows/checks.yaml@v0.1.11
with:
format-check: false
additional-checks: |
no_entrypoint_imports
unit-tests:
uses: Workiva/gha-dart-oss/.github/workflows/test-unit.yaml@v0.1.11
testing-and-checks-complete:
name: Testing and Checks Completed
needs: [ build, checks, unit-tests ]
if: ${{ !cancelled() && github.event_name == 'pull_request' || github.ref_type == 'tag' }}
runs-on: ubuntu-latest
steps:
- run: |
if [ "${{ needs.checks.result }}" == "failure" ]; then
echo "Some checks have failed. Please fix the issues and try again."
exit 1
fi
echo 'All Testing and checks have completed.'