Skip to content
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
2 changes: 1 addition & 1 deletion .github/workflows/.env
Original file line number Diff line number Diff line change
@@ -1 +1 @@
FLUTTER_VERSION=3.24.3
FLUTTER_VERSION=3.35.3
18 changes: 9 additions & 9 deletions .github/workflows/flutter_reach_five.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,29 +3,29 @@ name: Test Flutter Reach Five
on:
push:
paths:
- "flutter_reach_five/**"
- ".github/workflows/flutter_reach_five.yaml"
- 'flutter_reach_five/**'
- '.github/workflows/flutter_reach_five.yaml'
branches:
- main
pull_request:
paths:
- "flutter_reach_five/**"
- ".github/workflows/flutter_reach_five.yaml"
- 'flutter_reach_five/**'
- '.github/workflows/flutter_reach_five.yaml'
branches:
- main

jobs:
test:
strategy:
matrix: {dir: ["flutter_reach_five"]}
runs-on: ubuntu-20.04
matrix: { dir: ['flutter_reach_five'] }
runs-on: ubuntu-latest
defaults:
run:
working-directory: ${{ matrix.dir }}

steps:
- uses: actions/checkout@v3.3.0

- id: dotenv
uses: falti/dotenv-action@v1.0.2
with:
Expand All @@ -34,7 +34,7 @@ jobs:
- uses: subosito/flutter-action@v2.8.0
with:
flutter-version: ${{ steps.dotenv.outputs.flutter_version }}
channel: "stable"
channel: 'stable'
cache: true
cache-key: ${{ runner.os }}-flutter-${{ steps.dotenv.outputs.flutter_version }}
cache-path: ${{ runner.tool_cache }}/flutter-${{ steps.dotenv.outputs.flutter_version }}
Expand Down Expand Up @@ -65,5 +65,5 @@ jobs:
- name: Check Code Coverage
uses: VeryGoodOpenSource/very_good_coverage@v2.1.0
with:
path: "./${{ matrix.dir }}/coverage/lcov.info"
path: './${{ matrix.dir }}/coverage/lcov.info'
min_coverage: 100
18 changes: 9 additions & 9 deletions .github/workflows/flutter_reach_five_android.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,29 +3,29 @@ name: Test Flutter Reach Five Android
on:
push:
paths:
- "flutter_reach_five_android/**"
- ".github/workflows/flutter_reach_five_android.yaml"
- 'flutter_reach_five_android/**'
- '.github/workflows/flutter_reach_five_android.yaml'
branches:
- main
pull_request:
paths:
- "flutter_reach_five_android/**"
- ".github/workflows/flutter_reach_five_android.yaml"
- 'flutter_reach_five_android/**'
- '.github/workflows/flutter_reach_five_android.yaml'
branches:
- main

jobs:
test:
strategy:
matrix: {dir: ["flutter_reach_five_android"]}
runs-on: ubuntu-20.04
matrix: { dir: ['flutter_reach_five_android'] }
runs-on: ubuntu-latest
defaults:
run:
working-directory: ${{ matrix.dir }}

steps:
- uses: actions/checkout@v3.3.0

- id: dotenv
uses: falti/dotenv-action@v1.0.2
with:
Expand All @@ -34,7 +34,7 @@ jobs:
- uses: subosito/flutter-action@v2.8.0
with:
flutter-version: ${{ steps.dotenv.outputs.flutter_version }}
channel: "stable"
channel: 'stable'
cache: true
cache-key: ${{ runner.os }}-flutter-${{ steps.dotenv.outputs.flutter_version }}
cache-path: ${{ runner.tool_cache }}/flutter-${{ steps.dotenv.outputs.flutter_version }}
Expand All @@ -60,5 +60,5 @@ jobs:
- name: Check Code Coverage
uses: VeryGoodOpenSource/very_good_coverage@v2.1.0
with:
path: "./${{ matrix.dir }}/coverage/lcov.info"
path: './${{ matrix.dir }}/coverage/lcov.info'
min_coverage: 100
18 changes: 9 additions & 9 deletions .github/workflows/flutter_reach_five_ios.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,29 +3,29 @@ name: Test Flutter Reach Five iOS
on:
push:
paths:
- "flutter_reach_five_ios/**"
- ".github/workflows/flutter_reach_five_ios.yaml"
- 'flutter_reach_five_ios/**'
- '.github/workflows/flutter_reach_five_ios.yaml'
branches:
- main
pull_request:
paths:
- "flutter_reach_five_ios/**"
- ".github/workflows/flutter_reach_five_ios.yaml"
- 'flutter_reach_five_ios/**'
- '.github/workflows/flutter_reach_five_ios.yaml'
branches:
- main

jobs:
test:
strategy:
matrix: {dir: ["flutter_reach_five_ios"]}
runs-on: ubuntu-20.04
matrix: { dir: ['flutter_reach_five_ios'] }
runs-on: ubuntu-latest
defaults:
run:
working-directory: ${{ matrix.dir }}

steps:
- uses: actions/checkout@v3.3.0

- id: dotenv
uses: falti/dotenv-action@v1.0.2
with:
Expand All @@ -34,7 +34,7 @@ jobs:
- uses: subosito/flutter-action@v2.8.0
with:
flutter-version: ${{ steps.dotenv.outputs.flutter_version }}
channel: "stable"
channel: 'stable'
cache: true
cache-key: ${{ runner.os }}-flutter-${{ steps.dotenv.outputs.flutter_version }}
cache-path: ${{ runner.tool_cache }}/flutter-${{ steps.dotenv.outputs.flutter_version }}
Expand All @@ -60,5 +60,5 @@ jobs:
- name: Check Code Coverage
uses: VeryGoodOpenSource/very_good_coverage@v2.1.0
with:
path: "./${{ matrix.dir }}/coverage/lcov.info"
path: './${{ matrix.dir }}/coverage/lcov.info'
min_coverage: 100
18 changes: 9 additions & 9 deletions .github/workflows/flutter_reach_five_platform_interface.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,29 +3,29 @@ name: Test Flutter Reach Five Platform Interface
on:
push:
paths:
- "flutter_reach_five_platform_interface/**"
- ".github/workflows/flutter_reach_five_platform_interface.yaml"
- 'flutter_reach_five_platform_interface/**'
- '.github/workflows/flutter_reach_five_platform_interface.yaml'
branches:
- main
pull_request:
paths:
- "flutter_reach_five_platform_interface/**"
- ".github/workflows/flutter_reach_five_platform_interface.yaml"
- 'flutter_reach_five_platform_interface/**'
- '.github/workflows/flutter_reach_five_platform_interface.yaml'
branches:
- main

jobs:
test:
strategy:
matrix: {dir: ["flutter_reach_five_platform_interface"]}
runs-on: ubuntu-20.04
matrix: { dir: ['flutter_reach_five_platform_interface'] }
runs-on: ubuntu-latest
defaults:
run:
working-directory: ${{ matrix.dir }}

steps:
- uses: actions/checkout@v3.3.0

- id: dotenv
uses: falti/dotenv-action@v1.0.2
with:
Expand All @@ -34,7 +34,7 @@ jobs:
- uses: subosito/flutter-action@v2.8.0
with:
flutter-version: ${{ steps.dotenv.outputs.flutter_version }}
channel: "stable"
channel: 'stable'
cache: true
cache-key: ${{ runner.os }}-flutter-${{ steps.dotenv.outputs.flutter_version }}
cache-path: ${{ runner.tool_cache }}/flutter-${{ steps.dotenv.outputs.flutter_version }}
Expand All @@ -60,5 +60,5 @@ jobs:
- name: Check Code Coverage
uses: VeryGoodOpenSource/very_good_coverage@v2.1.0
with:
path: "./${{ matrix.dir }}/coverage/lcov.info"
path: './${{ matrix.dir }}/coverage/lcov.info'
min_coverage: 100
16 changes: 8 additions & 8 deletions .github/workflows/reach_five_identity_repo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,29 +3,29 @@ name: Test Flutter Reach Five Identity Repo
on:
push:
paths:
- "reach_five_identity_repo/**"
- ".github/workflows/reach_five_identity_repo.yaml"
- 'reach_five_identity_repo/**'
- '.github/workflows/reach_five_identity_repo.yaml'
branches:
- main
pull_request:
paths:
- "reach_five_identity_repo/**"
- ".github/workflows/reach_five_identity_repo.yaml"
- 'reach_five_identity_repo/**'
- '.github/workflows/reach_five_identity_repo.yaml'
branches:
- main

jobs:
test:
strategy:
matrix: {dir: ["reach_five_identity_repo"]}
runs-on: ubuntu-20.04
matrix: { dir: ['reach_five_identity_repo'] }
runs-on: ubuntu-latest
defaults:
run:
working-directory: ${{ matrix.dir }}

steps:
- uses: actions/checkout@v3.3.0

- id: dotenv
uses: falti/dotenv-action@v1.0.2
with:
Expand All @@ -34,7 +34,7 @@ jobs:
- uses: subosito/flutter-action@v2.8.0
with:
flutter-version: ${{ steps.dotenv.outputs.flutter_version }}
channel: "stable"
channel: 'stable'
cache: true
cache-key: ${{ runner.os }}-flutter-${{ steps.dotenv.outputs.flutter_version }}
cache-path: ${{ runner.tool_cache }}/flutter-${{ steps.dotenv.outputs.flutter_version }}
Expand Down
8 changes: 2 additions & 6 deletions flutter_reach_five/example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ version: 0.1.7
publish_to: none

environment:
sdk: ">=3.0.0 <4.0.0"
flutter: ">=3.16.0"
sdk: '>=3.0.0 <4.0.0'
flutter: '>=3.16.0'

dependencies:
flutter:
Expand All @@ -19,10 +19,6 @@ dependencies:
path: ../

dev_dependencies:
# We force analyzer 5.4.0 to avoid version conflicts between the pubspec.lock of
# reachFice main package and this example
# cf this issue : https://github.com/invertase/dart_custom_lint/issues/111
analyzer: 5.4.0
flutter_driver:
sdk: flutter
flutter_test:
Expand Down
2 changes: 1 addition & 1 deletion flutter_reach_five/lib/models/profile.dart
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ part 'profile.freezed.dart';

/// [Profile] class, contains the infos of an user
@freezed
class Profile with _$Profile {
abstract class Profile with _$Profile {
/// [Profile] default constructor
const factory Profile({
/// The user id
Expand Down
Loading