diff --git a/.github/workflows/patrol-check-semver.yaml b/.github/workflows/patrol-check-semver.yaml index 88f46209a..d75a5c8da 100644 --- a/.github/workflows/patrol-check-semver.yaml +++ b/.github/workflows/patrol-check-semver.yaml @@ -37,6 +37,12 @@ jobs: with: sdk: stable + - name: Set up Flutter + uses: subosito/flutter-action@v2 + with: + flutter-version: '3.22.x' + channel: 'stable' + - name: Install dart-apitool run: dart pub global activate dart_apitool diff --git a/.github/workflows/patrol-publish.yaml b/.github/workflows/patrol-publish.yaml index a29142aea..93457e08b 100644 --- a/.github/workflows/patrol-publish.yaml +++ b/.github/workflows/patrol-publish.yaml @@ -28,6 +28,12 @@ jobs: name: Check API changes runs-on: ubuntu-latest needs: [get_last_released_version] + + strategy: + matrix: + flutter-version: ['3.22.x'] + flutter-channel: ['stable'] + steps: - name: Clone repository uses: actions/checkout@v4 @@ -37,6 +43,12 @@ jobs: with: sdk: stable + - name: Set up Flutter + uses: subosito/flutter-action@v2 + with: + flutter-version: ${{ matrix.flutter-version }} + channel: ${{ matrix.flutter-channel }} + - name: Install dart-apitool run: dart pub global activate dart_apitool