Skip to content

Commit aa4dbf2

Browse files
committed
Revert "fix(ci): use Flutter action instead of Dart in reusable workflow"
This reverts commit d5f1e22.
1 parent d5f1e22 commit aa4dbf2

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

.github/workflows/dart-package-test.yml

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,21 @@ jobs:
5151
- name: Checkout repository
5252
uses: actions/checkout@v4
5353

54-
- name: Setup Flutter (includes Dart)
55-
uses: subosito/flutter-action@v2
54+
- name: Setup Dart
55+
uses: dart-lang/setup-dart@v1
5656
with:
57-
channel: ${{ matrix.sdk }}
58-
cache: true
57+
sdk: ${{ matrix.sdk }}
58+
59+
- name: Cache pub dependencies
60+
uses: actions/cache@v4
61+
with:
62+
path: |
63+
${{ env.PUB_CACHE }}
64+
~/.pub-cache
65+
key: ${{ runner.os }}-pub-${{ matrix.sdk }}-${{ hashFiles('**/pubspec.lock') }}
66+
restore-keys: |
67+
${{ runner.os }}-pub-${{ matrix.sdk }}-
68+
${{ runner.os }}-pub-
5969
6070
- name: Bootstrap workspace
6171
run: |

0 commit comments

Comments
 (0)