From c271ba4f280695c44c375d6fa79e06158fd7ba96 Mon Sep 17 00:00:00 2001 From: Piotr Maszota <37781044+piotruela@users.noreply.github.com> Date: Mon, 7 Oct 2024 09:57:52 +0200 Subject: [PATCH] Install Flutter in check-semver.yaml (#2352) Co-authored-by: piotruela --- .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..3aac14ab7 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.24.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