diff --git a/.github/workflows/giffy_dialog.yaml b/.github/workflows/giffy_dialog.yaml index 1c500d0..75ac184 100644 --- a/.github/workflows/giffy_dialog.yaml +++ b/.github/workflows/giffy_dialog.yaml @@ -17,6 +17,13 @@ jobs: uses: VeryGoodOpenSource/very_good_workflows/.github/workflows/semantic_pull_request.yml@v1 build: + strategy: + matrix: + flutter-version: + # The version of Flutter to use should use the minimum Dart SDK version supported by the package, + # refer to https://docs.flutter.dev/development/tools/sdk/releases. + - "3.16.0" + - "3.x" runs-on: ubuntu-latest steps: - name: 📚 Git Checkout @@ -25,8 +32,10 @@ jobs: - name: 🐦 Setup Flutter uses: subosito/flutter-action@v2 with: + flutter-version: ${{matrix.flutter-version}} channel: stable cache: true + cache-key: flutter-:os:-:channel:-:version:-:arch:-:hash:-${{ hashFiles('**/pubspec.lock') }} - name: 📦 Install Dependencies run: flutter packages get @@ -64,6 +73,7 @@ jobs: with: channel: stable cache: true + cache-key: flutter-:os:-:channel:-:version:-:arch:-:hash:-${{ hashFiles('**/pubspec.lock') }} - name: 📁 Build and release uses: bluefireteam/flutter-gh-pages@v8