From b357aa4a0b66f8fdac7e973b850dc44e02636184 Mon Sep 17 00:00:00 2001 From: Furkan Topaloglu <45017054+Furkantopaloglu@users.noreply.github.com> Date: Mon, 16 Feb 2026 15:22:48 +0300 Subject: [PATCH 1/2] Create dart.yml Add CI workflow for Flutter project with testing steps --- .github/workflows/dart.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/dart.yml diff --git a/.github/workflows/dart.yml b/.github/workflows/dart.yml new file mode 100644 index 0000000..e56a63f --- /dev/null +++ b/.github/workflows/dart.yml @@ -0,0 +1,22 @@ +name: CI + +on: + push: + branches: [main] + pull_request: + branches: [main] + +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - uses: subosito/flutter-action@v2 + with: + flutter-version: '3.24.0' + cache: true + + - run: flutter pub get + - run: flutter analyze + - run: flutter test From 90709331f04611f4a3ceae1f5ff0606e82b2dd4e Mon Sep 17 00:00:00 2001 From: Furkan Topaloglu Date: Mon, 16 Feb 2026 15:29:42 +0300 Subject: [PATCH 2/2] Add CI workflow and update environment constraints in pubspec.yaml --- .github/workflows/ci.yml | 21 +++++++++++++++++++++ pubspec.yaml | 4 ++-- 2 files changed, 23 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..ee99b11 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,21 @@ +name: CI + +on: + push: + branches: [main] + pull_request: + branches: [main] + +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - uses: subosito/flutter-action@v2 + with: + flutter-version: '3.38.9' + cache: true + + - run: flutter pub get + - run: flutter test diff --git a/pubspec.yaml b/pubspec.yaml index 4fd0c4d..3911c8a 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -13,8 +13,8 @@ topics: - monitoring environment: - sdk: ^3.10.8 - flutter: ">=1.17.0" + sdk: ">=3.0.0 <4.0.0" + flutter: ">=3.10.0" dependencies: flutter: