File tree Expand file tree Collapse file tree 4 files changed +12
-12
lines changed Expand file tree Collapse file tree 4 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -14,10 +14,10 @@ jobs:
14
14
- uses : actions/checkout@v3
15
15
with :
16
16
token : ${{ secrets.REPO_DEPLOYMENT_TOKEN }}
17
- - uses : subosito/flutter-action@v2
17
+ - uses : dart-lang/setup-dart@v1
18
18
with :
19
- channel : ' stable'
20
- - run : flutter pub get
19
+ sdk : stable
20
+ - run : dart pub get
21
21
- name : release
22
22
uses : cycjimmy/semantic-release-action@v3
23
23
with :
Original file line number Diff line number Diff line change @@ -12,15 +12,13 @@ jobs:
12
12
runs-on : ubuntu-latest
13
13
steps :
14
14
- uses : actions/checkout@v3
15
+ - uses : dart-lang/setup-dart@v1
15
16
with :
16
- submodules : true
17
- - uses : subosito/flutter-action@v2
18
- with :
19
- channel : ' stable'
20
- - run : flutter pub get
17
+ sdk : stable
18
+ - run : dart pub get
21
19
- run : dart format --fix --set-exit-if-changed .
22
- - run : flutter analyze
23
- - run : flutter test --coverage
20
+ - run : dart analyze
21
+ - run : dart test --coverage
24
22
- name : Setup LCOV
25
23
uses : hrishikesh-kadam/setup-lcov@v1
26
24
- name : Report code coverage
Original file line number Diff line number Diff line change 16
16
{
17
17
"verifyConditionsCmd" : " if [ -z \" $CREDENTIALS\" ]; then exit 1; fi && mkdir -p ~/.config/dart && echo \" $CREDENTIALS\" > ~/.config/dart/pub-credentials.json" ,
18
18
"prepareCmd" : " sed -i 's/^version: .*$/version: ${nextRelease.version}/' pubspec.yaml" ,
19
- "publishCmd" : " flutter pub publish -f"
19
+ "publishCmd" : " dart pub publish -f"
20
20
}
21
21
],
22
22
[
Original file line number Diff line number Diff line change 1
1
import 'package:test/test.dart' ;
2
2
3
3
void main () {
4
- group ('A group of tests' , () {});
4
+ group ('A group of tests' , () {
5
+ test ('True' , () {});
6
+ });
5
7
}
You can’t perform that action at this time.
0 commit comments