Skip to content

Commit 24da4a4

Browse files
author
LamNguyen176
committed
change update github ci
1 parent 45f858c commit 24da4a4

File tree

1 file changed

+20
-19
lines changed

1 file changed

+20
-19
lines changed

.github/workflows/flutter.yml

Lines changed: 20 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -11,26 +11,27 @@ on:
1111
jobs:
1212
build:
1313
runs-on: ubuntu-latest
14-
steps:
15-
- name: Check out the repository
16-
uses: actions/checkout@v2
1714

18-
- name: Set up Flutter
19-
uses: subosito/flutter-action@v2
20-
with:
21-
flutter-version: '3.19.6' # Specify the Flutter version, e.g., 'stable'
15+
steps:
16+
- name: Check out the repository
17+
uses: actions/checkout@v2
2218

23-
- name: Install dependencies
24-
run: flutter pub get
19+
- name: Set up Flutter
20+
uses: subosito/flutter-action@v2
21+
with:
22+
flutter-version: '3.19.6' # Specify the Flutter version, e.g., '2.10.0'
2523

26-
- name: Run tests
27-
run: flutter test
24+
- name: Install dependencies
25+
run: flutter pub get
2826

29-
- name: Upload coverage to Codecov
30-
uses: codecov/codecov-action@v2
31-
with:
32-
files: ./coverage/lcov.info
33-
flags: flutter
34-
name: code-coverage-report
35-
token: 2f59bcbb-7263-4e0c-9a37-e710e39705bb # Add this to your GitHub secrets
36-
fail_ci_if_error: true
27+
- name: Run tests
28+
run: flutter test
29+
30+
- name: Upload coverage to Codecov
31+
uses: codecov/codecov-action@v2
32+
with:
33+
files: ./coverage/lcov.info
34+
flags: flutter
35+
name: code-coverage-report
36+
token: 2f59bcbb-7263-4e0c-9a37-e710e39705bb # Add this to your GitHub secrets
37+
fail_ci_if_error: true

0 commit comments

Comments
 (0)