Skip to content

Commit 4f98bb0

Browse files
committed
Update eval.yaml
1 parent c1ee414 commit 4f98bb0

1 file changed

Lines changed: 9 additions & 8 deletions

File tree

.github/workflows/eval.yaml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,21 +30,22 @@ jobs:
3030
cache: true
3131
- name: Print Flutter version
3232
run: flutter --version
33-
- name: Cache Pub dependencies
34-
uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306
35-
with:
36-
path: ${{ env.PUB_CACHE }}
37-
key: ${{ runner.os }}-pub-${{ hashFiles('**/pubspec.lock') }}
38-
restore-keys: ${{ runner.os }}-pub-
33+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
3934
- name: Install dependencies
4035
working-directory: examples/eval
41-
run: pwd && dart pub get
36+
run: dart pub get
4237
- name: Run tests
4338
working-directory: examples/eval
4439
env:
4540
GEMINI_API_KEY: ${{ secrets.REPO_GEMINI_API_KEY }}
4641
run: flutter test --dart-define=GEMINI_API_KEY=$GEMINI_API_KEY
47-
42+
- name: Cache Pub dependencies
43+
uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306
44+
with:
45+
path: ${{ env.PUB_CACHE }}
46+
key: ${{ runner.os }}-pub-${{ hashFiles('**/pubspec.lock') }}
47+
restore-keys: ${{ runner.os }}-pub-
48+
4849

4950

5051

0 commit comments

Comments
 (0)