Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Workflows #5

Merged
merged 4 commits into from
Oct 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading