diff --git a/.github/workflows/dart.yml b/.github/workflows/dart.yml index acbd71c34..25c4660a2 100644 --- a/.github/workflows/dart.yml +++ b/.github/workflows/dart.yml @@ -25,7 +25,7 @@ jobs: run: sudo apt install /tmp/dart_2.19.6-1_amd64.deb - uses: actions/checkout@v3 - name: Install dependencies - run: PATH="$PATH:/usr/lib/dart/bin" pub get + run: PATH="$PATH:/usr/lib/dart/bin" dart pub get - name: Run tests run: PATH="$PATH:/usr/lib/dart/bin" pub run build_runner test diff --git a/.github/workflows/dart_formatting.yml b/.github/workflows/dart_formatting.yml index 1577d0234..f9643ed23 100644 --- a/.github/workflows/dart_formatting.yml +++ b/.github/workflows/dart_formatting.yml @@ -25,7 +25,7 @@ jobs: run: sudo apt install /tmp/dart_2.19.6-1_amd64.deb - uses: actions/checkout@v3 - name: Install dependencies - run: PATH="$PATH:/usr/lib/dart/bin" pub get + run: PATH="$PATH:/usr/lib/dart/bin" dart pub get - name: Verify formatting run: dart format -l 110 --output=none --set-exit-if-changed .