File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,30 +16,17 @@ jobs:
1616 runs-on : ubuntu-latest
1717
1818 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
2621
2722 - name : Install dependencies
2823 run : dart pub get
2924
3025 - name : Check code format
3126 run : dart format . -o none --set-exit-if-changed
3227
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.
3828 - name : Analyze project source
39- run : dart analyze
29+ run : dart analyze --fatal-infos .
4030
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'.
4431 - name : Run tests
4532 run : dart test
You can’t perform that action at this time.
0 commit comments