Skip to content

Commit

Permalink
Revert ":construction_worker: use a matrix of last known working and …
Browse files Browse the repository at this point in the history
…latest"

This reverts commit aa60349.
  • Loading branch information
techouse committed Mar 18, 2024
1 parent 608b804 commit 84b8330
Showing 1 changed file with 11 additions and 60 deletions.
71 changes: 11 additions & 60 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,31 +7,21 @@ defaults:
shell: bash
env:
PUB_ENVIRONMENT: bot.github
# pinned to latest stable version
FLUTTER_SDK_VERSION: 3.19.3

jobs:
test:
name: Test
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
# Last known working Flutter SDK
- flutter_sdk_version: "3.19.3"
flutter_channel: "stable"
allow_failure: false
# Latest stable Flutter SDK
- flutter_sdk_version: "any"
flutter_channel: "stable"
allow_failure: true
continue-on-error: ${{ matrix.allow_failure }}
steps:
- uses: actions/checkout@v4
- name: Setup Flutter SDK
uses: subosito/flutter-action@v2
with:
flutter-version: ${{ matrix.flutter_sdk_version }}
channel: ${{ matrix.flutter_channel }}
flutter-version: ${{ env.FLUTTER_SDK_VERSION }}
channel: "stable"
cache: true
- name: Install dependencies
run: flutter pub get
- name: Run tests
Expand All @@ -46,19 +36,6 @@ jobs:
needs: test
name: Build Android flutter app
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
# Last known working Flutter SDK
- flutter_sdk_version: "3.19.3"
flutter_channel: "stable"
allow_failure: false
# Latest stable Flutter SDK
- flutter_sdk_version: "any"
flutter_channel: "stable"
allow_failure: true
continue-on-error: ${{ matrix.allow_failure }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
Expand All @@ -69,8 +46,8 @@ jobs:
- name: Setup Flutter SDK
uses: subosito/flutter-action@v2
with:
flutter-version: ${{ matrix.flutter_sdk_version }}
channel: ${{ matrix.flutter_channel }}
flutter-version: ${{ env.FLUTTER_SDK_VERSION }}
channel: "stable"
cache: true
- name: Install example dependencies
working-directory: example
Expand Down Expand Up @@ -112,26 +89,13 @@ jobs:
needs: test
name: Build iOS flutter app
runs-on: macos-14
strategy:
fail-fast: false
matrix:
include:
# Last known working Flutter SDK
- flutter_sdk_version: "3.19.3"
flutter_channel: "stable"
allow_failure: false
# Latest stable Flutter SDK
- flutter_sdk_version: "any"
flutter_channel: "stable"
allow_failure: true
continue-on-error: ${{ matrix.allow_failure }}
steps:
- uses: actions/checkout@v4
- name: Setup Flutter SDK
uses: subosito/flutter-action@v2
with:
flutter-version: ${{ matrix.flutter_sdk_version }}
channel: ${{ matrix.flutter_channel }}
flutter-version: ${{ env.FLUTTER_SDK_VERSION }}
channel: "stable"
cache: true
- name: Install example dependencies
working-directory: example
Expand Down Expand Up @@ -162,26 +126,13 @@ jobs:
needs: test
name: Build web flutter app
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
# Last known working Flutter SDK
- flutter_sdk_version: "3.19.3"
flutter_channel: "stable"
allow_failure: false
# Latest stable Flutter SDK
- flutter_sdk_version: "any"
flutter_channel: "stable"
allow_failure: true
continue-on-error: ${{ matrix.allow_failure }}
steps:
- uses: actions/checkout@v4
- name: Setup Flutter SDK
uses: subosito/flutter-action@v2
with:
flutter-version: ${{ matrix.flutter_sdk_version }}
channel: ${{ matrix.flutter_channel }}
flutter-version: ${{ env.FLUTTER_SDK_VERSION }}
channel: "stable"
cache: true
- name: Install example dependencies
working-directory: example
Expand Down

0 comments on commit 84b8330

Please sign in to comment.