File tree Expand file tree Collapse file tree 1 file changed +3
-16
lines changed Expand file tree Collapse file tree 1 file changed +3
-16
lines changed Original file line number Diff line number Diff line change @@ -16,30 +16,17 @@ jobs:
16
16
runs-on : ubuntu-latest
17
17
18
18
steps :
19
- - uses : actions/checkout@v3
20
-
21
- # Note: This workflow uses the latest stable version of the Dart SDK.
22
- # You can specify other versions if desired, see documentation here:
23
- # https://github.com/dart-lang/setup-dart/blob/main/README.md
24
- # - uses: dart-lang/setup-dart@v1
25
- - uses : dart-lang/setup-dart@9a04e6d73cca37bd455e0608d7e5092f881fd603
19
+ - uses : actions/checkout@v4
20
+ - uses : dart-lang/setup-dart@v1
26
21
27
22
- name : Install dependencies
28
23
run : dart pub get
29
24
30
25
- name : Check code format
31
26
run : dart format . -o none --set-exit-if-changed
32
27
33
- # Uncomment this step to verify the use of 'dart format' on each commit.
34
- # - name: Verify formatting
35
- # run: dart format --output=none --set-exit-if-changed .
36
-
37
- # Consider passing '--fatal-infos' for slightly stricter analysis.
38
28
- name : Analyze project source
39
- run : dart analyze
29
+ run : dart analyze --fatal-infos .
40
30
41
- # Your project will need to have tests in test/ and a dependency on
42
- # package:test for this step to succeed. Note that Flutter projects will
43
- # want to change this to 'flutter test'.
44
31
- name : Run tests
45
32
run : dart test
You can’t perform that action at this time.
0 commit comments