File tree Expand file tree Collapse file tree 2 files changed +43
-0
lines changed
Expand file tree Collapse file tree 2 files changed +43
-0
lines changed Original file line number Diff line number Diff line change 1+ version : 2
2+ enable-beta-ecosystems : true
3+ updates :
4+ # Github actions ecosystem.
5+ - package-ecosystem : " github-actions"
6+ directory : " /"
7+ schedule :
8+ interval : " daily"
9+ # Pub ecosystem.
10+ - package-ecosystem : " pub"
11+ versioning-strategy : " increase-if-necessary"
12+ directory : " /"
13+ schedule :
14+ interval : " daily"
Original file line number Diff line number Diff line change 1+ name : Flutter CI
2+
3+ on :
4+ push :
5+ branches : [ "main" ]
6+ pull_request :
7+ branches : [ "main" ]
8+
9+ jobs :
10+ lint-and-test :
11+ name : Static code analysis
12+ runs-on : ubuntu-latest
13+ steps :
14+ - uses : actions/checkout@v4
15+ - name : Set up Flutter
16+ uses : subosito/flutter-action@v2
17+ with :
18+ channel : stable
19+ - run : dart --version
20+ - run : flutter --version
21+ - run : flutter pub get
22+ - name : Lint analysis
23+ run : dart analyze --fatal-infos
24+ - name : Dart format
25+ run : dart format --output none --set-exit-if-changed .
26+ - name : dart fix
27+ run : dart fix --dry-run
28+ - name : Run tests
29+ run : flutter test
You can’t perform that action at this time.
0 commit comments