Skip to content

Commit

Permalink
CI: test Dart 3.1.3 and Flutter 3.13.6
Browse files Browse the repository at this point in the history
  • Loading branch information
greenrobot-team committed Oct 10, 2023
1 parent 792e238 commit 1a97d7f
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 @@ -20,7 +20,7 @@ jobs:
# Prefer running on Ubuntu over Dart Docker image
- uses: dart-lang/setup-dart@v1
with:
sdk: 3.0.3
sdk: 3.1.3
- 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.10.4
flutter-version: 3.13.6
cache: true
- run: ./tool/init.sh

Expand All @@ -48,8 +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).
- 3.1.3
- 3.0.3
- 2.19.6
- 2.18.6
runs-on: ${{ matrix.os }}
steps:
Expand Down Expand Up @@ -84,7 +84,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.10.4
- 3.13.6
- 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 @@ -16,7 +16,7 @@ jobs:
# Prefer running on Ubuntu over Dart Docker image
- uses: dart-lang/setup-dart@v1
with:
sdk: 3.0.3
sdk: 3.1.3
- 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: 3.0.3
sdk: 3.1.3
- 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.0.3'
DART_VERSION: '3.1.3'

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

# 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 1a97d7f

Please sign in to comment.