10 Commits

Author SHA1 Message Date
irene 1db5f3dedf ci: split into fast analyze + slow release build with path gating
analyze runs on every push/PR (fast check).
release-apk only fires on push to master or workflow_dispatch (slow build).
Doc-only pushes no longer trigger any CI run.
workflow_dispatch triggers both jobs unconditionally.
2026-08-27 23:59:05 +09:00
irene 27ca718e54 ci: split into fast analyze + slow release build with path gating
analyze runs on every push/PR (fast check).
release-apk only fires on push to master or workflow_dispatch (slow build).
Doc-only pushes no longer trigger any CI run.
workflow_dispatch triggers both jobs unconditionally.
2026-08-27 23:58:02 +09:00
irene 8096b6809c ci: split into fast analyze + slow release build with path gating
analyze job runs on push/PR regardless of changed files (fast check).
release-apk job only fires when Dart source, Android, pubspec, or
tooling files change on push to master (slow build).
workflow_dispatch triggers both jobs unconditionally.
Doc-only pushes no longer trigger any CI run.
2026-08-27 23:56:31 +09:00
irene 6b137b9c9f Merge branch 'feat/release-2.3.0' into master
CI / Analyze & Build (push) Successful in 1m19s
2026-08-27 20:55:01 +09:00
irene 411166ef5d feat: bump version to 2.3.0+2
Release 2.3.0 with 4Hz GPS update interval, CI workflow, and lint fixes
2026-08-27 20:53:41 +09:00
irene b2f0015556 Merge branch 'fix/analysis-options' into master
CI / Analyze & Build (push) Successful in 3m5s
2026-08-27 13:41:24 +09:00
irene f9a33809a2 fix: disable sort_pub_dependencies lint rule 2026-08-27 13:41:06 +09:00
irene abd6d779ea fix: sort pubspec.yaml dependencies alphabetically 2026-08-27 13:37:56 +09:00
irene 92815c4682 fix: address remaining lint warnings 2026-08-27 13:36:57 +09:00
irene 8a3487f65e fix: suppress constant_identifier_names lint in analysis_options.yaml
SCREAMING_SNAKE_CASE is project convention for GPS constants.
2026-08-27 13:35:16 +09:00
4 changed files with 34 additions and 24 deletions
+18 -1
View File
@@ -3,6 +3,12 @@ name: CI
on:
push:
branches: [ master ]
paths:
- 'lib/**.dart'
- 'test/**.dart'
- 'android/**'
- 'pubspec.yaml'
- 'pubspec.lock'
pull_request:
branches: [ master ]
workflow_dispatch:
@@ -15,7 +21,7 @@ on:
jobs:
analyze:
name: Analyze & Build
name: Analyze & Test
runs-on: flutter-android
steps:
- uses: actions/checkout@v4
@@ -31,6 +37,17 @@ jobs:
- name: Analyze
run: flutter analyze
release-apk:
name: Release APK
runs-on: flutter-android
needs: [analyze]
if: github.event_name == 'push' || github.event_name == 'workflow_dispatch'
steps:
- uses: actions/checkout@v4
- name: Get dependencies
run: flutter pub get
- name: Build release APK
run: flutter build apk --release
+8
View File
@@ -10,3 +10,11 @@ analyzer:
- windows/**
- macos/**
- linux/**
linter:
rules:
prefer_single_quotes: true
# SCREAMING_SNAKE_CASE for constants is project convention
constant_identifier_names: false
# sort_pub_dependencies doesn't play well with flutter SDK dep first
sort_pub_dependencies: false
+1 -1
View File
@@ -23,7 +23,7 @@ class OverlayService {
() async {
await FlutterOverlayWindow.showOverlay(
enableDrag: true,
overlayTitle: "Speedometer",
overlayTitle: 'Speedometer',
overlayContent: 'Speedo overlay active',
flag: OverlayFlag.defaultFlag,
visibility: NotificationVisibility.visibilityPublic,
+7 -22
View File
@@ -2,7 +2,7 @@ name: gps_speedo
description: "Speedo - A Flutter application."
publish_to: 'none'
version: 2.2.2+1
version: 2.3.0+2
environment:
sdk: ^3.9.0
@@ -11,37 +11,22 @@ dependencies:
flutter:
sdk: flutter
# cupertino_icons: ^1.0.8
# Probably no icons needed for now
# GPS and Location Services - Essential only
bg_launcher: ^0.1.0
flutter_overlay_window: ^0.5.0
geolocator: ^14.0.2
permission_handler: ^12.0.1
# Keep screen awake during navigation
wakelock_plus: ^1.2.8
# Floating window overlay capability
flutter_overlay_window: ^0.5.0
# Bring app to foreground from background/overlay
bg_launcher: ^0.1.0
# State management
provider: ^6.1.2
# Persistent settings storage
shared_preferences: ^2.3.4
# Retry logic for platform operations
retry: ^3.1.2
shared_preferences: ^2.3.4
wakelock_plus: ^1.2.8
dev_dependencies:
flutter_launcher_icons: "^0.14.4"
flutter_lints: ^6.0.0
flutter_test:
sdk: flutter
flutter_lints: ^6.0.0
flutter_launcher_icons: "^0.14.4"
flutter:
uses-material-design: true