Skip to content

Commit

Permalink
Merge pull request #5 from KendiJ/workflows
Browse files Browse the repository at this point in the history
Workflows
  • Loading branch information
KendiJ authored Oct 14, 2023
2 parents e106bb9 + 4286720 commit 2cf554b
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 3 deletions.
27 changes: 25 additions & 2 deletions .github/workflows/working_branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 : |
Expand All @@ -42,4 +65,4 @@ jobs:
# run: flutter build apk --target-platform android-arm,android-arm64,android-x64 --split-per-abi




1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

2 changes: 1 addition & 1 deletion lib/presentation/cubit/weather_forecast_cubit_cubit.dart
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class WeatherForecastCubitCubit extends Cubit<WeatherForecastCubitState> {

mappedResponse.forEach((key, value) {
if(key.hour == hourOfWeatherToBeDisplayed) {
print(key);
// print(key);
dataToBeReturned.add(value);
}
});
Expand Down

0 comments on commit 2cf554b

Please sign in to comment.