From a84ee9e6367e86eecc7af59a3cf7c3c68c821c4c Mon Sep 17 00:00:00 2001 From: amaralkaff Date: Fri, 1 Nov 2024 02:00:23 +0800 Subject: [PATCH] feat: add workflows dart] --- .github/workflows/dart.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/dart.yml b/.github/workflows/dart.yml index 0a76a86..ac8a144 100644 --- a/.github/workflows/dart.yml +++ b/.github/workflows/dart.yml @@ -21,15 +21,12 @@ jobs: # Set up Flutter - uses: subosito/flutter-action@v2 with: - flutter-version: '3.5.4' + flutter-version: '3.13.9' # Updated to latest stable version channel: 'stable' + cache: true # Add caching for faster setup - name: Install dependencies run: flutter pub get - shell: /usr/bin/bash -e {0} - env: - FLUTTER_ROOT: /opt/hostedtoolcache/flutter/stable-3.0.0-x64 - PUB_CACHE: /home/runner/.pub-cache # Uncomment this step to verify the use of 'dart format' on each commit. # - name: Verify formatting