-
-
Notifications
You must be signed in to change notification settings - Fork 4
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
42708f5
commit 1dbbd84
Showing
2 changed files
with
19 additions
and
2 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 |
---|---|---|
|
@@ -23,18 +23,23 @@ jobs: | |
os: [ubuntu-latest, windows-latest, macos-latest] | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Setup Java JDK | ||
uses: actions/setup-java@v3 | ||
with: | ||
distribution: temurin | ||
java-version: '17' | ||
|
||
- name: Flutter action | ||
uses: subosito/[email protected] | ||
with: | ||
channel: stable | ||
|
||
- name: Flutter version | ||
run: flutter --version | ||
|
||
- name: Cache pubspec dependencies | ||
uses: actions/[email protected] | ||
with: | ||
|
@@ -47,6 +52,7 @@ jobs: | |
key: build-pubspec-${{ hashFiles('**/pubspec.lock') }} | ||
restore-keys: | | ||
build-pubspec- | ||
- name: Cache build runner | ||
uses: actions/cache@v2 | ||
with: | ||
|
@@ -58,9 +64,12 @@ jobs: | |
key: build-runner-${{ hashFiles('**/asset_graph.json', '**/*.dart', '**/pubspec.lock', '**/outputs.json') }} | ||
restore-keys: | | ||
build-runner- | ||
- name: Download pub dependencies | ||
run: flutter pub get | ||
|
||
- name: Run analyzer | ||
run: flutter analyze | ||
|
||
- name: Run tests | ||
run: flutter test |
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 |
---|---|---|
|
@@ -9,18 +9,23 @@ jobs: | |
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Setup Java JDK | ||
uses: actions/setup-java@v3 | ||
with: | ||
distribution: temurin | ||
java-version: '17' | ||
|
||
- name: Flutter action | ||
uses: subosito/[email protected] | ||
with: | ||
channel: stable | ||
|
||
- name: Flutter version | ||
run: flutter --version | ||
|
||
- name: Cache pubspec dependencies | ||
uses: actions/[email protected] | ||
with: | ||
|
@@ -33,6 +38,7 @@ jobs: | |
key: build-pubspec-${{ hashFiles('**/pubspec.lock') }} | ||
restore-keys: | | ||
build-pubspec- | ||
- name: Cache build runner | ||
uses: actions/cache@v2 | ||
with: | ||
|
@@ -44,8 +50,10 @@ jobs: | |
key: build-runner-${{ hashFiles('**/asset_graph.json', '**/*.dart', '**/pubspec.lock', '**/outputs.json') }} | ||
restore-keys: | | ||
build-runner- | ||
- name: Download pub dependencies | ||
run: flutter pub get | ||
|
||
- name: Run analyzer | ||
run: flutter analyze --fatal-infos | ||
|
||
|