Update CI (#166)
diff --git a/.github/workflows/test-package.yml b/.github/workflows/test-package.yml
index fac86a2..9460c26 100644
--- a/.github/workflows/test-package.yml
+++ b/.github/workflows/test-package.yml
@@ -19,13 +19,10 @@
with:
sdk: dev
- id: install
- name: Install dependencies
run: dart pub get
- - name: Check formatting
- run: dart format --output=none --set-exit-if-changed .
+ - run: dart format --output=none --set-exit-if-changed .
if: steps.install.outcome == 'success'
- - name: Analyze code
- run: dart analyze --fatal-infos
+ - run: dart analyze --fatal-infos
if: steps.install.outcome == 'success'
test:
@@ -42,11 +39,8 @@
with:
sdk: ${{ matrix.sdk }}
- id: install
- name: Install dependencies
- run: pub get
- - name: Run VM tests
- run: pub run test --platform vm
+ run: dart pub get
+ - run: dart test --platform vm
if: steps.install.outcome == 'success'
- - name: Run Chrome tests
- run: pub run test --platform chrome
+ - run: dart test --platform chrome
if: steps.install.outcome == 'success'