Skip to content

Commit 28eddc7

Browse files
committed
do not resolve example dependencies to avoid requiring flutter
1 parent 5d05b61 commit 28eddc7

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎.github/workflows/release.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ jobs:
8888

8989
- name: Get dependencies
9090
if: steps.pubdev.outputs.published != 'true'
91-
run: dart pub get
91+
run: dart pub get --no-example
9292

9393
- name: Dry run
9494
if: steps.pubdev.outputs.published != 'true'

‎.github/workflows/test.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,14 @@ jobs:
3030
with:
3131
sdk: stable
3232

33+
# example/ is a Flutter app and does not resolve with the plain Dart SDK.
3334
- name: Get dependencies
34-
run: dart pub get
35+
run: dart pub get --no-example
3536

3637
- name: Check formatting
3738
if: runner.os == 'Linux'
3839
run: dart format --output=none --set-exit-if-changed lib hook test
3940

40-
# example/ is a Flutter app and does not resolve with the plain Dart SDK.
4141
- name: Analyze code
4242
if: runner.os == 'Linux'
4343
run: dart analyze lib hook test

0 commit comments

Comments
 (0)