-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ci] Only run with min and max supported Flutter SDK version (#103)
At this time, min supported Flutter SDK version is 2.10.x, and max supported Flutter version is the latest.
- Loading branch information
1 parent
3ff72d3
commit 1a240fa
Showing
3 changed files
with
16 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,7 @@ jobs: | |
- uses: actions/checkout@v2 | ||
- uses: subosito/flutter-action@v2 | ||
with: | ||
flutter-version: '3.10.0' | ||
flutter-version: '3.x' | ||
cache: true | ||
- run: flutter analyze | ||
|
||
|
@@ -48,7 +48,7 @@ jobs: | |
- uses: actions/checkout@v3 | ||
- uses: subosito/flutter-action@v2 | ||
with: | ||
flutter-version: '3.10.0' | ||
flutter-version: '3.x' | ||
cache: true | ||
cache-key: 'flutter-:os:-:channel:-:version:-:arch:-:hash:' # optional, change this to force refresh cache | ||
cache-path: '${{ runner.tool_cache }}/flutter/:channel:-:version:-:arch:' # optional, change this to specify the cache path | ||
|
@@ -59,7 +59,7 @@ jobs: | |
if: ${{ !contains(github.event.pull_request.labels.*.name, 'ci:skip') }} | ||
strategy: | ||
matrix: | ||
version: ['2.10.5', '3.0.0', '3.3.9', '3.7.3', '3.10.0'] | ||
version: ['2.10.5', '3.x'] | ||
runs-on: windows-2019 | ||
steps: | ||
- uses: actions/checkout@v1 | ||
|
@@ -80,7 +80,7 @@ jobs: | |
if: ${{ !contains(github.event.pull_request.labels.*.name, 'ci:skip') }} | ||
strategy: | ||
matrix: | ||
version: ['2.10.5', '3.0.0', '3.3.9', '3.7.3', '3.10.0'] | ||
version: ['2.10.5', '3.x'] | ||
runs-on: macos-13 | ||
timeout-minutes: 60 | ||
steps: | ||
|
@@ -99,8 +99,8 @@ jobs: | |
if: ${{ !contains(github.event.pull_request.labels.*.name, 'ci:skip') }} | ||
strategy: | ||
matrix: | ||
version: ['2.10.5', '3.0.0', '3.3.9', '3.7.3', '3.10.0'] | ||
runs-on: macos-11 | ||
version: ['2.10.5', '3.x'] | ||
runs-on: macos-13 | ||
timeout-minutes: 60 | ||
steps: | ||
- uses: actions/checkout@v1 | ||
|
@@ -119,7 +119,7 @@ jobs: | |
if: ${{ !contains(github.event.pull_request.labels.*.name, 'ci:skip') }} | ||
strategy: | ||
matrix: | ||
version: ['2.10.5', '3.0.0', '3.3.9', '3.7.3', '3.10.0'] | ||
version: ['2.10.5', '3.x'] | ||
runs-on: windows-2019 | ||
steps: | ||
- uses: actions/checkout@v1 | ||
|
@@ -140,7 +140,7 @@ jobs: | |
if: ${{ !contains(github.event.pull_request.labels.*.name, 'ci:skip') }} | ||
strategy: | ||
matrix: | ||
version: ['2.10.5', '3.0.0', '3.3.9', '3.7.3', '3.10.0'] | ||
version: ['2.10.5', '3.x'] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
|
@@ -161,7 +161,7 @@ jobs: | |
if: ${{ !contains(github.event.pull_request.labels.*.name, 'ci:skip') }} | ||
strategy: | ||
matrix: | ||
version: ['2.10.5', '3.0.0', '3.3.9', '3.7.3', '3.10.0'] | ||
version: ['2.10.5', '3.x'] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
|
@@ -182,7 +182,7 @@ jobs: | |
if: ${{ !contains(github.event.pull_request.labels.*.name, 'ci:skip') }} | ||
strategy: | ||
matrix: | ||
version: ['2.10.5', '3.0.0', '3.3.9', '3.7.3', '3.10.0'] | ||
version: ['2.10.5', '3.x'] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
|
@@ -201,7 +201,7 @@ jobs: | |
if: ${{ !contains(github.event.pull_request.labels.*.name, 'ci:skip') }} | ||
strategy: | ||
matrix: | ||
version: ['2.10.5', '3.0.0', '3.3.9', '3.7.3', '3.10.0'] | ||
version: ['2.10.5', '3.x'] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
|
@@ -226,7 +226,7 @@ jobs: | |
java-version: '11' | ||
- uses: subosito/flutter-action@v2 | ||
with: | ||
flutter-version: '3.10.0' # Run the latest version | ||
flutter-version: '3.x' # Run the latest version | ||
cache: true | ||
- name: windows integration test | ||
shell: bash | ||
|
@@ -293,7 +293,7 @@ jobs: | |
- uses: actions/checkout@v1 | ||
- uses: subosito/flutter-action@v2 | ||
with: | ||
flutter-version: '3.10.0' # Run the latest version | ||
flutter-version: '3.x' # Run the latest version | ||
cache: true | ||
- run: flutter config --enable-macos-desktop | ||
- name: run macos integration test | ||
|
@@ -317,7 +317,7 @@ jobs: | |
java-version: '11' | ||
- uses: subosito/flutter-action@v2 | ||
with: | ||
flutter-version: '3.10.0' # Run the latest version | ||
flutter-version: '3.x' # Run the latest version | ||
cache: true | ||
- name: run android integration test | ||
uses: reactivecircus/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
buildscript { | ||
ext.kotlin_version = '1.6.10' | ||
ext.kotlin_version = '1.7.0' | ||
repositories { | ||
google() | ||
mavenCentral() | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters