Skip to content

Commit 99d489f

Browse files
CI: test Dart 2.18.5 and Flutter 3.3.9
1 parent f7c510b commit 99d489f

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

.github/workflows/dart.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
generator:
1717
runs-on: ubuntu-20.04
1818
container:
19-
image: dart:2.17.6
19+
image: dart:2.18.5
2020
steps:
2121
- uses: actions/checkout@v2
2222
- name: Install ObjectBox C-API
@@ -31,7 +31,7 @@ jobs:
3131
- uses: actions/checkout@v2
3232
- uses: subosito/flutter-action@v2
3333
with:
34-
flutter-version: 3.0.5
34+
flutter-version: 3.3.9
3535
cache: true
3636
- run: ./tool/init.sh
3737

@@ -44,9 +44,9 @@ jobs:
4444
- macos-11
4545
- ubuntu-20.04
4646
sdk:
47+
- 2.18.5
4748
- 2.17.6
4849
- 2.16.2
49-
- 2.15.1
5050
- 2.14.0 # currently the lowest fully supported version (i.e. generator + lib)
5151
runs-on: ${{ matrix.os }}
5252
steps:
@@ -69,7 +69,7 @@ jobs:
6969
steps:
7070
- uses: dart-lang/setup-dart@v1
7171
with:
72-
sdk: 2.17.6
72+
sdk: 2.18.5
7373
- uses: actions/checkout@v2
7474
- name: Install ObjectBox C-API
7575
run: ./install.sh
@@ -93,10 +93,10 @@ jobs:
9393
- macos-11
9494
- ubuntu-20.04
9595
flutter-version:
96-
- 3.0.5
96+
- 3.3.9
9797
- 2.5.0 # currently the lowest fully supported version (i.e. generator + lib)
9898
include:
99-
- flutter-version: 3.0.5 # Flutter 2.9 and newer need Visual Studio 2022 to build desktop.
99+
- flutter-version: 3.3.9 # Flutter 2.9 and newer need Visual Studio 2022 to build desktop.
100100
os: windows-2022
101101
- flutter-version: 2.5.0 # Flutter 2.8.1 and older need Visual Studio 2019 to build desktop.
102102
os: windows-2019

.github/workflows/lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
analyze:
1313
runs-on: ubuntu-20.04
1414
container:
15-
image: dart:2.17.6
15+
image: dart:2.18.5
1616
steps:
1717
- uses: actions/checkout@v2
1818
- run: dart run build_runner build
@@ -46,7 +46,7 @@ jobs:
4646
- uses: actions/checkout@v2
4747
- uses: subosito/flutter-action@v2
4848
with:
49-
flutter-version: 3.0.5
49+
flutter-version: 3.3.9
5050
cache: true
5151
- name: Generate test coverage
5252
working-directory: objectbox

.gitlab-ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ stages:
55
variables:
66
# Note: use specific tags as docker images may not always be pulled due to "if-not-present" pull policy.
77
# Thus, do not use tags like latest/beta, but check https://hub.docker.com/_/dart?tab=tags for latest.
8-
DART_VERSION: '2.17.6'
8+
DART_VERSION: '2.18.5'
99

1010
# Make PUB_CACHE cacheable in GitLab;
1111
# see also https://gitlab.com/gitlab-org/gitlab/-/merge_requests/77791/diffs and
@@ -68,4 +68,4 @@ test-lib:linux:x64:
6868
# Note: use specific tags as docker images may not always be pulled due to "if-not-present" pull policy.
6969
# Thus, do not use tags like latest/beta, but check https://hub.docker.com/_/dart?tab=tags for latest.
7070
# Always include lowest supported version (see sdk key in objectbox and generator pubspec.yaml).
71-
- DART_VERSION: [ '2.14', '2.15.1', '2.16.1', '2.16.2', '2.17.6' ]
71+
- DART_VERSION: [ '2.14', '2.16.2', '2.17.6', '2.18.5' ]

0 commit comments

Comments
 (0)