Skip to content

Commit

Permalink
CI: test Flutter 3.24.2 and Dart 3.5.2
Browse files Browse the repository at this point in the history
Also Dart SDK 3.4.4 because haven't updated that long.
  • Loading branch information
greenrobot-team committed Oct 1, 2024
1 parent 8c585e9 commit 9d6025b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/dart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
# Prefer running on Ubuntu over Dart Docker image
- uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672 # v1.6.5
with:
sdk: 3.5.3
sdk: 3.5.2
- name: Install ObjectBox C library
run: ./install.sh
- name: Integration test
Expand All @@ -37,7 +37,7 @@ jobs:
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- uses: subosito/flutter-action@44ac965b96f18d999802d4b807e3256d5a3f9fa1 # v2.16.0
with:
flutter-version: 3.24.3
flutter-version: 3.24.2
cache: true
- run: ./tool/init.sh

Expand All @@ -52,7 +52,7 @@ jobs:
sdk:
# Always include lowest supported version (see sdk key in objectbox and generator
# pubspec.yaml, but may be higher due to dependencies).
- 3.5.3
- 3.5.2
- 3.4.4
- 2.18.6
runs-on: ${{ matrix.os }}
Expand Down Expand Up @@ -94,7 +94,7 @@ jobs:
# Include lowest working version (use lowest tested Dart SDK as a guideline, see lib tests
# above; but may be higher due to dependency conflicts)
# https://docs.flutter.dev/development/tools/sdk/releases lists included Dart SDK.
- 3.24.3
- 3.24.2
- 3.7.12
runs-on: ${{ matrix.os }}
steps:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lint.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@0a8a0fc875eb934c15d08629302413c671d3f672 # v1.6.5
with:
sdk: 3.5.3
sdk: 3.5.2
- name: Get dependencies
run: |
dart pub get --directory=benchmark
Expand Down Expand Up @@ -72,7 +72,7 @@ jobs:
# Prefer running on Ubuntu over Dart Docker image
- uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672 # v1.6.5
with:
sdk: 3.5.3
sdk: 3.5.2
- 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: '3.5.3'
DART_VERSION: '3.5.2'

# Make PUB_CACHE cacheable in GitLab;
# see also https://gitlab.com/gitlab-org/gitlab/-/merge_requests/77791/diffs and
Expand Down Expand Up @@ -95,7 +95,7 @@ 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.18.6', '3.4.4', '3.5.3' ]
- DART_VERSION: [ '2.18.6', '3.4.4', '3.5.2' ]

# Runs tests with coverage on the objectbox package.
# Note: As this requires to run tests, make sure this does not block the actual test jobs so test
Expand Down

0 comments on commit 9d6025b

Please sign in to comment.