Visitar URL original
Add Github Actions CI (#318) · stuartmorgan-g/packages@e98558b · GitHub
Skip to content

Commit e98558b

Browse files
Add Github Actions CI (flutter#318)
1 parent f5226f2 commit e98558b

6 files changed

Lines changed: 56 additions & 47 deletions

File tree

‎packages/flutter_markdown/.cirrus.yml‎

Lines changed: 0 additions & 18 deletions
This file was deleted.
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: flutter_markdown
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
workflow_dispatch:
9+
schedule:
10+
- cron: '0 0 * * *' # Every day at midnight
11+
12+
defaults:
13+
run:
14+
shell: bash
15+
16+
jobs:
17+
flutter-tests:
18+
name: Test Flutter ${{ matrix.flutter_version }} on ${{ matrix.os }}
19+
runs-on: ${{ matrix.os }}
20+
strategy:
21+
fail-fast: false
22+
matrix:
23+
flutter_version: [dev, beta, stable]
24+
os: [ubuntu-latest, macos-latest, windows-latest]
25+
steps:
26+
- uses: actions/checkout@v2
27+
- uses: actions/setup-java@v1
28+
with:
29+
java-version: '12.x'
30+
- uses: subosito/flutter-action@v1
31+
with:
32+
channel: ${{ matrix.flutter_version }}
33+
- run: flutter analyze
34+
- run: flutter test

‎packages/flutter_markdown/.travis.yml‎

Lines changed: 0 additions & 7 deletions
This file was deleted.

‎packages/flutter_markdown/example/lib/demos/basic_markdown_demo.dart‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ class _BasicMarkdownDemoState extends State<BasicMarkdownDemo> {
155155
),
156156
),
157157
actions: [
158-
FlatButton(
158+
TextButton(
159159
onPressed: () => Navigator.of(context).pop(),
160160
child: Text('OK'),
161161
)

‎packages/flutter_markdown/example/lib/screens/demo_screen.dart‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ class DemoNotesView extends StatelessWidget {
147147
),
148148
),
149149
actions: [
150-
FlatButton(
150+
TextButton(
151151
onPressed: () => Navigator.of(context).pop(),
152152
child: Text('OK'),
153153
)

‎packages/flutter_markdown/pubspec.lock‎

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,14 @@ packages:
2828
name: async
2929
url: "https://pub.dartlang.org"
3030
source: hosted
31-
version: "2.5.0-nullsafety.1"
31+
version: "2.5.0-nullsafety.3"
3232
boolean_selector:
3333
dependency: transitive
3434
description:
3535
name: boolean_selector
3636
url: "https://pub.dartlang.org"
3737
source: hosted
38-
version: "2.1.0-nullsafety.1"
38+
version: "2.1.0-nullsafety.3"
3939
build:
4040
dependency: transitive
4141
description:
@@ -63,14 +63,14 @@ packages:
6363
name: characters
6464
url: "https://pub.dartlang.org"
6565
source: hosted
66-
version: "1.1.0-nullsafety.3"
66+
version: "1.1.0-nullsafety.5"
6767
charcode:
6868
dependency: transitive
6969
description:
7070
name: charcode
7171
url: "https://pub.dartlang.org"
7272
source: hosted
73-
version: "1.2.0-nullsafety.1"
73+
version: "1.2.0-nullsafety.3"
7474
cli_util:
7575
dependency: transitive
7676
description:
@@ -84,7 +84,7 @@ packages:
8484
name: clock
8585
url: "https://pub.dartlang.org"
8686
source: hosted
87-
version: "1.1.0-nullsafety.1"
87+
version: "1.1.0-nullsafety.3"
8888
code_builder:
8989
dependency: transitive
9090
description:
@@ -98,7 +98,7 @@ packages:
9898
name: collection
9999
url: "https://pub.dartlang.org"
100100
source: hosted
101-
version: "1.15.0-nullsafety.3"
101+
version: "1.15.0-nullsafety.5"
102102
convert:
103103
dependency: transitive
104104
description:
@@ -133,7 +133,7 @@ packages:
133133
name: fake_async
134134
url: "https://pub.dartlang.org"
135135
source: hosted
136-
version: "1.2.0-nullsafety.1"
136+
version: "1.2.0-nullsafety.3"
137137
fixnum:
138138
dependency: transitive
139139
description:
@@ -192,14 +192,14 @@ packages:
192192
name: matcher
193193
url: "https://pub.dartlang.org"
194194
source: hosted
195-
version: "0.12.10-nullsafety.1"
195+
version: "0.12.10-nullsafety.3"
196196
meta:
197197
dependency: "direct main"
198198
description:
199199
name: meta
200200
url: "https://pub.dartlang.org"
201201
source: hosted
202-
version: "1.3.0-nullsafety.3"
202+
version: "1.3.0-nullsafety.6"
203203
mockito:
204204
dependency: "direct dev"
205205
description:
@@ -234,7 +234,7 @@ packages:
234234
name: path
235235
url: "https://pub.dartlang.org"
236236
source: hosted
237-
version: "1.8.0-nullsafety.1"
237+
version: "1.8.0-nullsafety.3"
238238
pedantic:
239239
dependency: transitive
240240
description:
@@ -274,56 +274,56 @@ packages:
274274
name: source_span
275275
url: "https://pub.dartlang.org"
276276
source: hosted
277-
version: "1.8.0-nullsafety.2"
277+
version: "1.8.0-nullsafety.4"
278278
stack_trace:
279279
dependency: transitive
280280
description:
281281
name: stack_trace
282282
url: "https://pub.dartlang.org"
283283
source: hosted
284-
version: "1.10.0-nullsafety.1"
284+
version: "1.10.0-nullsafety.6"
285285
stream_channel:
286286
dependency: transitive
287287
description:
288288
name: stream_channel
289289
url: "https://pub.dartlang.org"
290290
source: hosted
291-
version: "2.1.0-nullsafety.1"
291+
version: "2.1.0-nullsafety.3"
292292
string_scanner:
293293
dependency: transitive
294294
description:
295295
name: string_scanner
296296
url: "https://pub.dartlang.org"
297297
source: hosted
298-
version: "1.1.0-nullsafety.1"
298+
version: "1.1.0-nullsafety.3"
299299
term_glyph:
300300
dependency: transitive
301301
description:
302302
name: term_glyph
303303
url: "https://pub.dartlang.org"
304304
source: hosted
305-
version: "1.2.0-nullsafety.1"
305+
version: "1.2.0-nullsafety.3"
306306
test_api:
307307
dependency: transitive
308308
description:
309309
name: test_api
310310
url: "https://pub.dartlang.org"
311311
source: hosted
312-
version: "0.2.19-nullsafety.2"
312+
version: "0.2.19-nullsafety.6"
313313
typed_data:
314314
dependency: transitive
315315
description:
316316
name: typed_data
317317
url: "https://pub.dartlang.org"
318318
source: hosted
319-
version: "1.3.0-nullsafety.3"
319+
version: "1.3.0-nullsafety.5"
320320
vector_math:
321321
dependency: transitive
322322
description:
323323
name: vector_math
324324
url: "https://pub.dartlang.org"
325325
source: hosted
326-
version: "2.1.0-nullsafety.3"
326+
version: "2.1.0-nullsafety.5"
327327
watcher:
328328
dependency: transitive
329329
description:
@@ -339,5 +339,5 @@ packages:
339339
source: hosted
340340
version: "2.2.1"
341341
sdks:
342-
dart: ">=2.10.0-110 <2.11.0"
343-
flutter: ">=1.17.0 <2.0.0"
342+
dart: ">=2.12.0-0.0 <3.0.0"
343+
flutter: ">=1.17.0"

0 commit comments

Comments
 (0)