diff --git a/.github/workflows/working_branch.yml b/.github/workflows/working_branch.yml index d54d4af..7605549 100644 --- a/.github/workflows/working_branch.yml +++ b/.github/workflows/working_branch.yml @@ -11,6 +11,27 @@ on: jobs: + + analysis: + name: format + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - name: Install Flutter + uses: subosito/flutter-action@v2 + with: + flutter-version: '3.13.3' + channel: 'stable' + architecture: x64 + + # - name: Check Code Format + # run: dart format . --set-exit-if-changed + + + # - name: Analyze code + # run: dart analyze . + build: runs-on: ubuntu-latest @@ -26,9 +47,11 @@ jobs: java-version: '12.x' - name : Setup Flutter - uses: subosito/flutter-action@v1 + uses: subosito/flutter-action@v2 with: flutter-version: '3.13.3' + channel: 'stable' + architecture: x64 - name: Flutter Pub get run : | @@ -42,4 +65,4 @@ jobs: # run: flutter build apk --target-platform android-arm,android-arm64,android-x64 --split-per-abi - \ No newline at end of file + diff --git a/README.md b/README.md index 4fb3ff4..2093cf1 100644 --- a/README.md +++ b/README.md @@ -14,3 +14,4 @@ A few resources to get you started if this is your first Flutter project: For help getting started with Flutter development, view the [online documentation](https://docs.flutter.dev/), which offers tutorials, samples, guidance on mobile development, and a full API reference. + diff --git a/lib/presentation/cubit/weather_forecast_cubit_cubit.dart b/lib/presentation/cubit/weather_forecast_cubit_cubit.dart index 40a259c..f31509f 100644 --- a/lib/presentation/cubit/weather_forecast_cubit_cubit.dart +++ b/lib/presentation/cubit/weather_forecast_cubit_cubit.dart @@ -32,7 +32,7 @@ class WeatherForecastCubitCubit extends Cubit { mappedResponse.forEach((key, value) { if(key.hour == hourOfWeatherToBeDisplayed) { - print(key); + // print(key); dataToBeReturned.add(value); } });