Skip to content

Commit e53851c

Browse files
committed
modified github actions to use Dart 3.8 to satisfy pubspec.yaml upper bound of <3.9.0 needed for analyzer version issues
1 parent ee8bdfc commit e53851c

4 files changed

Lines changed: 12 additions & 4 deletions

File tree

.github/workflows/dart.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,10 @@ jobs:
1313
- name: Checkout branch
1414
uses: actions/checkout@v4
1515

16-
- name: Setup Dart SDK # This will use the latest version of dart unless specified otherwise.
16+
- name: Setup Dart SDK # Using Dart 3.8 to match pubspec.yaml constraint
1717
uses: dart-lang/setup-dart@v1 # https://github.com/dart-lang/setup-dart
18+
with:
19+
sdk: 3.8
1820

1921
- name: Install dependencies
2022
run: dart pub get

.github/workflows/dart_formatting.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,10 @@ jobs:
1313
- name: Checkout branch
1414
uses: actions/checkout@v4
1515

16-
- name: Setup Dart SDK # This will use the latest version of dart unless specified otherwise.
16+
- name: Setup Dart SDK # Using Dart 3.8 to match pubspec.yaml constraint
1717
uses: dart-lang/setup-dart@v1 # https://github.com/dart-lang/setup-dart
18+
with:
19+
sdk: 3.8
1820

1921
- name: Install dependencies
2022
run: dart pub get

.github/workflows/gh-pages-dev.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,10 @@ jobs:
2020
ref: gh-pages
2121
path: gh-pages-repo
2222

23-
- name: Setup Dart SDK # This will use the latest version of dart unless specified otherwise.
23+
- name: Setup Dart SDK # Using Dart 3.8 to match pubspec.yaml constraint
2424
uses: dart-lang/setup-dart@v1 # https://github.com/dart-lang/setup-dart
25+
with:
26+
sdk: 3.8
2527

2628
- name: Install dependencies
2729
run: dart pub get

.github/workflows/gh-pages.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,10 @@ jobs:
1919
ref: gh-pages
2020
path: gh-pages-repo
2121

22-
- name: Setup Dart SDK # This will use the latest version of dart unless specified otherwise.
22+
- name: Setup Dart SDK # Using Dart 3.8 to match pubspec.yaml constraint
2323
uses: dart-lang/setup-dart@v1 # https://github.com/dart-lang/setup-dart
24+
with:
25+
sdk: 3.8
2426

2527
- name: Install dependencies
2628
run: dart pub get

0 commit comments

Comments
 (0)