Skip to content

Commit

Permalink
Feature/ci pipeline add code formatting step (#54)
Browse files Browse the repository at this point in the history
Adds a step to CI pipeline which ensures that code is correctly formatted.
  • Loading branch information
defuncart committed Mar 4, 2022
1 parent be74fca commit 42d03e5
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: pull_request
on: pull_request
jobs:
lint-unit-tests-android-web:
name: Lint + Unit Tests
lint-formatting-unit-tests:
name: CI Pipeline
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
Expand All @@ -19,8 +19,8 @@ jobs:
flutter pub get
cd ..
- name: Lint
run:
dart analyze
run: dart analyze
- name: Ensure correct formatting
run: dart format --set-exit-if-changed .
- name: Unit tests
run:
dart test
run: dart test

0 comments on commit 42d03e5

Please sign in to comment.