We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d5f1e22 commit aa4dbf2Copy full SHA for aa4dbf2
.github/workflows/dart-package-test.yml
@@ -51,11 +51,21 @@ jobs:
51
- name: Checkout repository
52
uses: actions/checkout@v4
53
54
- - name: Setup Flutter (includes Dart)
55
- uses: subosito/flutter-action@v2
+ - name: Setup Dart
+ uses: dart-lang/setup-dart@v1
56
with:
57
- channel: ${{ matrix.sdk }}
58
- cache: true
+ sdk: ${{ matrix.sdk }}
+
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-
69
70
- name: Bootstrap workspace
71
run: |
0 commit comments