Skip to content

Commit 0924e0c

Browse files
committed
👷 Updated github action
1 parent 09a8324 commit 0924e0c

File tree

1 file changed

+3
-16
lines changed

1 file changed

+3
-16
lines changed

.github/workflows/dart.yml

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)