Skip to content

Commit ae0fd58

Browse files
fix: dart format
1 parent f78c6ad commit ae0fd58

File tree

3 files changed

+28
-21
lines changed

3 files changed

+28
-21
lines changed

.circleci/config.yml

Lines changed: 21 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ version: 2.1
22

33
orbs:
44
android: circleci/[email protected]
5-
flutter: circleci/flutter@2.0.2
5+
flutter: circleci/flutter@2.1.0
66
node: circleci/[email protected]
77
advanced-checkout: vsco/[email protected]
88
ios: circleci/[email protected]
@@ -38,7 +38,7 @@ commands:
3838
source $BASH_ENV
3939
- run:
4040
name: Install patrol
41-
command: dart pub global activate patrol_cli 3.3.0
41+
command: dart pub global activate patrol_cli 3.5.0
4242
# This runs `flutter pub get` and `dart pub get` if we pass parameter `generate_pigeons` to the job it also runs the following:
4343
# - `sh ./scripts/pigeon.sh`
4444
# - `dart run build_runner build --delete-conflicting-outputs`
@@ -49,7 +49,12 @@ commands:
4949
remove_patrol:
5050
type: boolean
5151
default: false
52+
version:
53+
type: string
54+
default: "3.24.0"
5255
steps:
56+
- flutter/install_sdk_and_pub:
57+
version: <<parameters.version>>
5358
- run:
5459
name: Install Flutter Packages
5560
command: flutter pub get --verbose
@@ -98,13 +103,15 @@ jobs:
98103
parameters:
99104
version:
100105
type: string
101-
docker:
102-
- image: cirrusci/flutter:<<parameters.version>>
106+
executor:
107+
name: android/android-machine
103108
steps:
104109
- advanced-checkout/shallow-checkout
105110
- install_flutter_and_dart_packages:
106111
generate_pigeons: true
107112
remove_patrol: true
113+
version: <<parameters.version>>
114+
108115
- run: flutter test --coverage
109116
- run:
110117
working_directory: coverage
@@ -159,30 +166,30 @@ jobs:
159166
-scheme Runner \
160167
-resultBundlePath coverage/result.xcresult \
161168
-sdk iphonesimulator \
162-
-destination 'platform=iOS Simulator,name=iPhone 15 Pro Max,OS=17.2' \
169+
-destination 'platform=iOS Simulator,name=iPhone 16 Pro Max,OS=18.0' \
163170
-skip-testing:RunnerUITests \
164171
test | xcpretty
165172
166173
e2e_ios_patrol:
167174
macos:
168-
xcode: 15.2.0
175+
xcode: 16.0.0
169176
resource_class: macos.m1.medium.gen1
170177
steps:
171178
- advanced-checkout/shallow-checkout
172179
- setup_ios
173180
- setup_patrol
174181
- ios/preboot-simulator:
175-
version: "17.2"
176-
device: "iPhone 15 Pro Max"
182+
version: "18.0"
183+
device: "iPhone 16 Pro Max"
177184
- ios/wait-until-simulator-booted
178185
- run:
179186
name: Run E2E Tests
180187
no_output_timeout: 30m
181188
working_directory: example
182189
command: patrol test -t integration_test/ --verbose
183190
format_flutter:
184-
docker:
185-
- image: cirrusci/flutter
191+
executor:
192+
name: android/android-machine
186193
steps:
187194
- advanced-checkout/shallow-checkout
188195
- install_flutter_and_dart_packages:
@@ -192,8 +199,8 @@ jobs:
192199
command: dart format . --set-exit-if-changed
193200

194201
lint_flutter:
195-
docker:
196-
- image: cirrusci/flutter
202+
executor:
203+
name: android/android-machine
197204
steps:
198205
- advanced-checkout/shallow-checkout
199206
- install_flutter_and_dart_packages:
@@ -203,8 +210,8 @@ jobs:
203210
command: flutter analyze
204211

205212
verify_pub:
206-
docker:
207-
- image: cirrusci/flutter
213+
executor:
214+
name: android/android-machine
208215
steps:
209216
- advanced-checkout/shallow-checkout
210217
- install_flutter_and_dart_packages:

example/pubspec.lock

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -208,26 +208,26 @@ packages:
208208
dependency: "direct dev"
209209
description:
210210
name: patrol
211-
sha256: "4e1d239412b81124d28381a953951ccd8fff2841afd8420a052a458bf5534510"
211+
sha256: "254493e63a7307ee6080c2f6ab649f4dca404a9871d9b98d473563127c18823b"
212212
url: "https://pub.dev"
213213
source: hosted
214-
version: "3.10.0"
214+
version: "3.15.2"
215215
patrol_finders:
216216
dependency: transitive
217217
description:
218218
name: patrol_finders
219-
sha256: "95e4a8592c27c2cf39871f0c5f80d251a4347a3a61d117646089631459ce299b"
219+
sha256: "8787f9d5c3417b72e8959a55ad51c024cc0594d15e5db85bc179c4d8faa0c493"
220220
url: "https://pub.dev"
221221
source: hosted
222-
version: "2.8.2"
222+
version: "2.7.2"
223223
patrol_log:
224224
dependency: transitive
225225
description:
226226
name: patrol_log
227-
sha256: "49c25a41ad5ed7df6ff550c964798ed86cb112cbe2ca4f4d728d85c413b779a8"
227+
sha256: "98b2701400c7a00b11533ab942bdeb44c3c714746e7cdb12e6cb93b6d06361da"
228228
url: "https://pub.dev"
229229
source: hosted
230-
version: "0.4.0"
230+
version: "0.3.0"
231231
platform:
232232
dependency: transitive
233233
description:

example/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ dev_dependencies:
3333
flutter_test:
3434
sdk: flutter
3535
flutter_lints: 1.0.4
36-
patrol: 3.10.0
36+
patrol: 3.15.2
3737

3838
patrol:
3939
app_name: Instabug example

0 commit comments

Comments
 (0)