diff --git a/.github/workflows/dart.yml b/.github/workflows/dart.yml index 4564741..6d86698 100644 --- a/.github/workflows/dart.yml +++ b/.github/workflows/dart.yml @@ -32,7 +32,7 @@ jobs: run: dart --version - name: Install dependencies - run: pub get + run: dart pub get - name: Analyze if: ${{ matrix.sdk == 'stable' }} @@ -43,18 +43,18 @@ jobs: run: dart format . --set-exit-if-changed - name: Active coverage - run: pub global activate coverage + run: dart pub global activate coverage - name: Run tests - run: pub run test test/rx_storage_test.dart --chain-stack-traces + run: dart pub run test test/rx_storage_test.dart --chain-stack-traces - name: Start Observatory run: dart --disable-service-auth-codes --enable-vm-service=8111 --pause-isolates-on-exit --enable-asserts test/rx_storage_test.dart & - name: Collect coverage - run: nohup pub global run coverage:collect_coverage --port=8111 --out=coverage.json --wait-paused --resume-isolates + run: nohup dart pub global run coverage:collect_coverage --port=8111 --out=coverage.json --wait-paused --resume-isolates - name: Format coverage - run: pub global run coverage:format_coverage --lcov --in=coverage.json --out=lcov.info --packages=.packages --report-on=lib + run: dart pub global run coverage:format_coverage --lcov --in=coverage.json --out=lcov.info --report-on=lib - uses: codecov/codecov-action@v3.1.0