Skip to content

Commit 9729726

Browse files
authored
chore: update dartsdk minimum to latest version 3.7.2 (#44)
Signed-off-by: Jeremy Andrews <[email protected]>
1 parent 47bc601 commit 9729726

File tree

5 files changed

+14
-11
lines changed

5 files changed

+14
-11
lines changed

.github/workflows/validation-workflow.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@ jobs:
2424
BRANCH_NAME="${{ inputs.branch_name }}"
2525
echo "Branch name: $BRANCH_NAME"
2626
27-
if [[ "$BRANCH_NAME" =~ ^(qa|beta|main)$ ]]; then
28-
echo "✅ Branch name '$BRANCH_NAME' is valid for protected branches (qa, beta, main)."
27+
if [[ "$BRANCH_NAME" =~ ^(qa|development|main)$ ]]; then
28+
echo "✅ Branch name '$BRANCH_NAME' is valid for protected branches (qa, development, main)."
2929
elif [[ "$BRANCH_NAME" =~ ^(feat|fix|hotfix|chore|test|refactor|release)/[a-z0-9_-]+$ ]]; then
3030
echo "✅ Branch name '$BRANCH_NAME' follows the naming convention."
3131
else
3232
echo "❌ Branch name '$BRANCH_NAME' does not follow the naming convention: <type>/<branch-name>"
33-
echo "Valid types: feat, fix, hotfix, chore, test, refactor, release, qa, beta, main"
33+
echo "Valid types: feat, fix, hotfix, chore, test, refactor, release, development, qa, main"
3434
exit 1
3535
fi
3636
@@ -100,7 +100,7 @@ jobs:
100100
echo "$PUBSPEC_FILES"
101101
102102
# Define the minimum required Dart SDK version
103-
MINIMUM_VERSION="3.6.0"
103+
MINIMUM_VERSION="3.7.2"
104104
ALL_VALID="true"
105105
106106
# Iterate over each pubspec.yaml file

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050

5151
### Requirements
5252

53-
Dart language version: [3.6.0](https://dart.dev/get-dart/archive)
53+
Dart language version: [3.7.2](https://dart.dev/get-dart/archive)
5454

5555
> [!NOTE]
5656
> The OpenFeature DartServer SDK only supports the latest currently maintained Dart language versions.

local_dev_tools/validate_branch.dart

+7-4
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,20 @@ void main(List<String> args) {
1515
print('Branch name: $branchName');
1616

1717
final validBranches = RegExp(r'^(qa|beta|main)$');
18-
final validFeatureBranch =
19-
RegExp(r'^(feat|fix|hotfix|chore|test|refactor|release)/[a-z0-9_-]+$');
18+
final validFeatureBranch = RegExp(
19+
r'^(feat|fix|hotfix|chore|test|refactor|release)/[a-z0-9_-]+$',
20+
);
2021

2122
if (validBranches.hasMatch(branchName) ||
2223
validFeatureBranch.hasMatch(branchName)) {
2324
print('✅ Branch name is valid.');
2425
} else {
2526
print(
26-
'❌ Branch name does not follow the required convention: <type>/<branch-name>');
27+
'❌ Branch name does not follow the required convention: <type>/<branch-name>',
28+
);
2729
print(
28-
'Valid types: feat, fix, hotfix, chore, test, refactor, release, qa, beta, main');
30+
'Valid types: feat, fix, hotfix, chore, test, refactor, release, development, qa, main',
31+
);
2932
exit(1);
3033
}
3134
}

pubspec.lock

+1-1
Original file line numberDiff line numberDiff line change
@@ -471,4 +471,4 @@ packages:
471471
source: hosted
472472
version: "3.1.2"
473473
sdks:
474-
dart: ">=3.6.0 <4.0.0"
474+
dart: ">=3.7.2 <4.0.0"

pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ description: Official server-side Dart OpenFeature SDK.
1414
version: 0.0.6
1515
homepage: https://github.com/open-feature/dart-server-sdk
1616
environment:
17-
sdk: ^3.6.0
17+
sdk: ^3.7.2
1818

1919
dependencies:
2020
# Core dependencies

0 commit comments

Comments
 (0)