Skip to content

Feature/0.6.2

Feature/0.6.2 #148

Workflow file for this run

name: Verify .g Files
on:
push:
branches: [master]
pull_request:
branches: [master, develop]
workflow_call:
jobs:
build:
runs-on: ubuntu-latest
container:
image: dart:stable
steps:
- uses: actions/checkout@v3
- name: Print Dart SDK version
run: dart --version
- name: Install dependencies
run: dart pub get
- name: Build model.g.dart file
run: sh -c ./build.sh
- name: Run git diff
run: if [[ `git status --porcelain` ]]; then echo "Please re-run `build.sh`"; exit 1; else exit 0; fi;