forked from jhomlala/alice
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
655615d
commit a97f42d
Showing
1 changed file
with
10 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,27 +6,18 @@ on: | |
workflow_dispatch: | ||
|
||
jobs: | ||
check-format: | ||
name: Check format using flutter format | ||
runs-on: ubuntu-latest | ||
container: cirrusci/flutter:stable | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
- name: Check format | ||
run: flutter format -n --set-exit-if-changed . | ||
|
||
lint: | ||
name: Lint | ||
check: | ||
runs-on: ubuntu-latest | ||
container: cirrusci/flutter:stable | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
- name: Get dependencies for example | ||
run: flutter pub get | ||
working-directory: example | ||
- uses: webfactory/[email protected] | ||
with: | ||
ssh-private-key: ${{ secrets.ORG_SSH_KEY }} | ||
- uses: dart-lang/[email protected] | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Check format | ||
run: flutter format -n --set-exit-if-changed . | ||
|
||
- name: Lint using flutter analyze | ||
run: flutter analyze |