Skip to content

Commit

Permalink
ci: run analysis for min supported flutter version
Browse files Browse the repository at this point in the history
Signed-off-by: Sahil Kumar <[email protected]>
  • Loading branch information
xsahil03x committed Nov 16, 2024
1 parent 0992042 commit dca52bb
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/giffy_dialog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit dca52bb

Please sign in to comment.