diff --git a/.github/workflows/test_frontend.yml b/.github/workflows/test_frontend.yml index 5a99a692..9221fb20 100644 --- a/.github/workflows/test_frontend.yml +++ b/.github/workflows/test_frontend.yml @@ -14,9 +14,10 @@ jobs: - uses: actions/checkout@v3 - uses: subosito/flutter-action@v2 with: + flutter-version: '3.10.6' channel: 'stable' - run: flutter pub get - run: flutter pub run build_runner build - run: flutter analyze - run: flutter test - - run: flutter build web \ No newline at end of file + - run: flutter build web diff --git a/frontend/Dockerfile b/frontend/Dockerfile index d362ada5..f55a743e 100644 --- a/frontend/Dockerfile +++ b/frontend/Dockerfile @@ -6,7 +6,7 @@ RUN apt-get update RUN apt-get install -y curl git wget unzip libgconf-2-4 gdb libstdc++6 libglu1-mesa fonts-droid-fallback lib32stdc++6 python3 RUN git clone https://github.com/flutter/flutter.git /opt/flutter && \ - cd /opt/flutter && git checkout '3.10.3' && \ + cd /opt/flutter && git checkout '3.10.6' && \ /opt/flutter/bin/flutter doctor && \ /opt/flutter/bin/flutter config --enable-web diff --git a/frontend/charm/tox.ini b/frontend/charm/tox.ini index fb9bfa4f..0add5205 100644 --- a/frontend/charm/tox.ini +++ b/frontend/charm/tox.ini @@ -4,8 +4,8 @@ [tox] no_package = True skip_missing_interpreters = True -env_list = format, lint, unit -min_version = 4.0.0 +env_list = static, lint, unit +min_version = 4.9.0 [vars] src_path = {tox_root}/src @@ -23,7 +23,7 @@ pass_env = CHARM_BUILD_DIR MODEL_SETTINGS -[testenv:format] +[testenv:static] description = Apply coding style standards to code deps = black diff --git a/frontend/lib/ui/dashboard/artefact_dialog.dart b/frontend/lib/ui/dashboard/artefact_dialog.dart index a17a3e51..464ae4f6 100644 --- a/frontend/lib/ui/dashboard/artefact_dialog.dart +++ b/frontend/lib/ui/dashboard/artefact_dialog.dart @@ -75,7 +75,7 @@ class _ArtefactHeader extends StatelessWidget { size: 60, ), onTap: () => Navigator.pop(context), - ) + ), ], ), ); diff --git a/frontend/lib/ui/dashboard/dashboard_body.dart b/frontend/lib/ui/dashboard/dashboard_body.dart index b757e301..f7cd6a9d 100644 --- a/frontend/lib/ui/dashboard/dashboard_body.dart +++ b/frontend/lib/ui/dashboard/dashboard_body.dart @@ -20,7 +20,7 @@ class DashboardBody extends StatelessWidget { return ProviderScope( overrides: [ namesOfStagesProvider - .overrideWithValue(stages.map((stage) => stage.name).toList()) + .overrideWithValue(stages.map((stage) => stage.name).toList()), ], child: ListView.separated( padding: const EdgeInsets.symmetric( diff --git a/terraform/test-observer.tf b/terraform/test-observer.tf index 639a7963..734ba169 100644 --- a/terraform/test-observer.tf +++ b/terraform/test-observer.tf @@ -64,7 +64,7 @@ resource "juju_application" "test-observer-api" { name = "test-observer-api" channel = "latest/edge" series = "jammy" - revision = 18 + revision = 20 } config = { @@ -83,7 +83,7 @@ resource "juju_application" "test-observer-frontend" { name = "test-observer-frontend" channel = "latest/edge" series = "jammy" - revision = 11 + revision = 13 } config = {