Add a CI task that checks formatting

This commit is contained in:
Natalie Weizenbaum 2021-06-14 12:44:31 -07:00
parent 66ab368582
commit 67bd395df5

View File

@ -47,6 +47,16 @@ jobs:
- name: Analyze dart
run: dartanalyzer --fatal-warnings ./
format:
name: Code formatting
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: dart-lang/setup-dart@v1
- run: dart format --fix .
- run: git diff --exit-code
deploy_github_linux:
name: "Deploy Github: Linux"
runs-on: ubuntu-latest