From 11e0ece944d674dda4868223d0696df782a1c772 Mon Sep 17 00:00:00 2001 From: piotruela Date: Fri, 20 Sep 2024 16:44:19 +0200 Subject: [PATCH] Setup Flutter in check-semver.yaml --- .github/workflows/check-semver.yaml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/check-semver.yaml b/.github/workflows/check-semver.yaml index 10f325cb2..44f841309 100644 --- a/.github/workflows/check-semver.yaml +++ b/.github/workflows/check-semver.yaml @@ -11,6 +11,12 @@ jobs: name: Check semver runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + flutter-version: ['3.22.x'] + flutter-channel: ['stable'] + steps: - name: Clone repository uses: actions/checkout@v4 @@ -24,10 +30,11 @@ jobs: echo "last_version=$last_version" >> $GITHUB_ENV echo "::set-output name=last_version::$last_version" - - name: Set up Dart - uses: dart-lang/setup-dart@v1 + - name: Set up Flutter + uses: subosito/flutter-action@v2 with: - sdk: stable + flutter-version: ${{ matrix.flutter-version }} + channel: ${{ matrix.flutter-channel }} - name: Install dart-apitool run: dart pub global activate dart_apitool