Skip to content

Commit a72bdc2

Browse files
authored
Update dart.yml
1 parent 75e9aea commit a72bdc2

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/dart.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
run: dart --version
3333

3434
- name: Install dependencies
35-
run: pub get
35+
run: dart pub get
3636

3737
- name: Analyze
3838
if: ${{ matrix.sdk == 'stable' }}
@@ -43,18 +43,18 @@ jobs:
4343
run: dart format . --set-exit-if-changed
4444

4545
- name: Active coverage
46-
run: pub global activate coverage
46+
run: dart pub global activate coverage
4747

4848
- name: Run tests
49-
run: pub run test test/rx_storage_test.dart --chain-stack-traces
49+
run: dart pub run test test/rx_storage_test.dart --chain-stack-traces
5050

5151
- name: Start Observatory
5252
run: dart --disable-service-auth-codes --enable-vm-service=8111 --pause-isolates-on-exit --enable-asserts test/rx_storage_test.dart &
5353

5454
- name: Collect coverage
55-
run: nohup pub global run coverage:collect_coverage --port=8111 --out=coverage.json --wait-paused --resume-isolates
55+
run: nohup dart pub global run coverage:collect_coverage --port=8111 --out=coverage.json --wait-paused --resume-isolates
5656

5757
- name: Format coverage
58-
run: pub global run coverage:format_coverage --lcov --in=coverage.json --out=lcov.info --packages=.packages --report-on=lib
58+
run: dart pub global run coverage:format_coverage --lcov --in=coverage.json --out=lcov.info --report-on=lib
5959

6060
- uses: codecov/[email protected]

0 commit comments

Comments
 (0)