Skip to content

Commit

Permalink
CI: drop Dart 2.17/Flutter 3.0, use latest bugfix releases.
Browse files Browse the repository at this point in the history
  • Loading branch information
greenrobot-team committed May 9, 2023
1 parent 410cf8f commit 43757df
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 11 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/dart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
# Prefer running on Ubuntu over Dart Docker image
- uses: dart-lang/setup-dart@v1
with:
sdk: 2.19.2
sdk: 2.19.6
- name: Install ObjectBox C-API
run: ./install.sh
- name: Integration test
Expand All @@ -33,7 +33,7 @@ jobs:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
with:
flutter-version: 3.7.3
flutter-version: 3.7.12
cache: true
- run: ./tool/init.sh

Expand All @@ -48,9 +48,8 @@ jobs:
sdk:
# Always include lowest supported version (see sdk key in objectbox and generator
# pubspec.yaml, but may be higher due to dependencies).
- 2.19.2
- 2.18.5
- 2.17.6
- 2.19.6
- 2.18.6
runs-on: ${{ matrix.os }}
steps:
- uses: dart-lang/setup-dart@v1
Expand Down Expand Up @@ -105,8 +104,8 @@ jobs:
flutter-version:
# Always include lowest supported version (based on lowest tested Dart SDK, see lib tests
# above): https://docs.flutter.dev/development/tools/sdk/releases lists included Dart SDK.
- 3.7.3
- 3.0.5
- 3.7.12
- 3.3.10
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
# Prefer running on Ubuntu over Dart Docker image
- uses: dart-lang/setup-dart@v1
with:
sdk: 2.19.2
sdk: 2.19.6
- name: Get dependencies
run: |
dart pub get --directory=benchmark
Expand Down Expand Up @@ -64,7 +64,7 @@ jobs:
# Prefer running on Ubuntu over Dart Docker image
- uses: dart-lang/setup-dart@v1
with:
sdk: 2.19.2
sdk: 2.19.6
- name: Install coverage tools
run: |
./tool/apt-install.sh lcov
Expand Down
4 changes: 2 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ stages:
variables:
# Note: use specific tags as docker images may not always be pulled due to "if-not-present" pull policy.
# Thus, do not use tags like latest/beta, but check https://hub.docker.com/_/dart?tab=tags for latest.
DART_VERSION: '2.19.2'
DART_VERSION: '2.19.6'

# Make PUB_CACHE cacheable in GitLab;
# see also https://gitlab.com/gitlab-org/gitlab/-/merge_requests/77791/diffs and
Expand Down Expand Up @@ -113,4 +113,4 @@ test-lib:linux:x64:
# pulled due to "if-not-present" pull policy. Check https://hub.docker.com/_/dart?tab=tags.
# Always include lowest supported version (see sdk key in objectbox and generator
# pubspec.yaml, but may be higher due to dependencies).
- DART_VERSION: [ '2.17.6', '2.18.5', '2.19.2' ]
- DART_VERSION: [ '2.18.6', '2.19.6' ]

0 comments on commit 43757df

Please sign in to comment.