Skip to content

Commit f3d7053

Browse files
updated Dart version
1 parent 6808087 commit f3d7053

File tree

4 files changed

+169
-95
lines changed

4 files changed

+169
-95
lines changed

.github/workflows/dart.yml

+26-2
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,37 @@ on:
77
branches: [ master ]
88

99
jobs:
10-
build:
10+
formatter:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- uses: actions/checkout@v2
1414
- uses: dart-lang/[email protected]
1515
with:
16-
sdk: 2.18.0
16+
sdk: 3.6.0
17+
- name: Install dependencies
18+
run: dart pub get
19+
- name: Run Dart Analyzer
20+
run: dart format ./ -l 120 --set-exit-if-changed
21+
22+
analyzer:
23+
runs-on: ubuntu-latest
24+
steps:
25+
- uses: actions/checkout@v2
26+
- uses: dart-lang/[email protected]
27+
with:
28+
sdk: 3.6.0
29+
- name: Install dependencies
30+
run: dart pub get
31+
- name: Run Dart Analyzer
32+
run: dart analyze --fatal-warnings --fatal-infos
33+
34+
tests:
35+
runs-on: ubuntu-latest
36+
steps:
37+
- uses: actions/checkout@v2
38+
- uses: dart-lang/[email protected]
39+
with:
40+
sdk: 3.6.0
1741
- name: Install dependencies
1842
run: dart pub get
1943
- name: Run tests

.gitignore

+5-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,8 @@
55
# Conventional directory for build output.
66
build/
77

8-
/.idea
8+
.idea
9+
10+
.vscode
11+
12+
coverage

0 commit comments

Comments
 (0)