Skip to content

Commit e99ea4b

Browse files
author
Laks Castro
authored
Merge pull request #74 from lakscastro/chore/add-static-analysis-action
Fetch packages before analyze
2 parents 737a3e8 + a2dad3a commit e99ea4b

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/static-analysis.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,17 @@ jobs:
1818
steps:
1919
- uses: actions/checkout@v2
2020
- uses: dart-lang/setup-dart@v1
21-
21+
- uses: subosito/flutter-action@v2
22+
with:
23+
flutter-version: "2.10.0"
24+
channel: "stable"
25+
- run: flutter --version
2226
- name: Checkout to target branch
2327
run: |
2428
git fetch
2529
git checkout ${{ github.ref_name }}
30+
- name: Fetch packages
31+
run: flutter pub get
2632

2733
- name: Run static dart analysis with fatal infos
2834
run: dart analyze --fatal-infos

0 commit comments

Comments
 (0)