Skip to content

Commit

Permalink
Enable cache in subosito/flutter-action
Browse files Browse the repository at this point in the history
  • Loading branch information
louischan-oursky committed Sep 6, 2024
1 parent d0cc940 commit 09c4f46
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ jobs:
# This has to be kept in sync with .tool-versions
flutter-version: '3.24.2'
channel: 'stable'
# This action takes 1m30s to finish. Enable cache to make it shorter.
cache: true
- run: flutter pub get
- run: flutter test
- run: flutter analyze --no-fatal-infos
Expand All @@ -52,6 +54,8 @@ jobs:
# This has to be kept in sync with .tool-versions
flutter-version: '3.24.2'
channel: 'stable'
# This action takes 1m30s to finish. Enable cache to make it shorter.
cache: true
- run: echo "$ANDROID_HOME/tools/bin" >> $GITHUB_PATH
- run: flutter pub get
- run: flutter test
Expand All @@ -69,6 +73,8 @@ jobs:
# This has to be kept in sync with .tool-versions
flutter-version: '3.24.2'
channel: 'stable'
# This action takes 1m30s to finish. Enable cache to make it shorter.
cache: true
- run: flutter pub get
- run: flutter test
- run: flutter analyze --no-fatal-infos
Expand Down Expand Up @@ -105,6 +111,8 @@ jobs:
# This has to be kept in sync with .tool-versions
flutter-version: '3.24.2'
channel: 'stable'
# This action takes 1m30s to finish. Enable cache to make it shorter.
cache: true
- run: flutter pub get
- run: flutter test
- run: flutter analyze --no-fatal-infos
Expand Down Expand Up @@ -161,6 +169,8 @@ jobs:
# This has to be kept in sync with .tool-versions
flutter-version: '3.24.2'
channel: 'stable'
# This action takes 1m30s to finish. Enable cache to make it shorter.
cache: true
- run: flutter pub get
- run: flutter test
- run: flutter analyze --no-fatal-infos
Expand Down

0 comments on commit 09c4f46

Please sign in to comment.