Skip to content

Commit d337e35

Browse files
authored
ci: Remove local dart dependency in flutter CI jobs (#831)
1 parent 2542178 commit d337e35

File tree

1 file changed

+2
-13
lines changed

1 file changed

+2
-13
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,10 @@ jobs:
4646
uses: subosito/flutter-action@v2
4747
with:
4848
cache: true
49-
- name: Set file permissions
50-
run: chmod +x tools/flutter-dependencies.sh
5149
- name: Install dependencies
5250
run: |
53-
echo "publish_to: none" >> packages/flutter/pubspec.yaml
54-
tools/flutter-dependencies.sh
51+
(cd packages/dart; flutter pub get)
52+
(cd packages/flutter; flutter pub get)
5553
- name: Analyze code
5654
run: flutter analyze packages/flutter --no-fatal-infos
5755
check-code-analysis-dart:
@@ -81,15 +79,6 @@ jobs:
8179
uses: subosito/flutter-action@v2
8280
with:
8381
cache: true
84-
- name: Set file permissions on Ubuntu and MacOS
85-
if: matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest'
86-
run: chmod +x tools/flutter-dependencies.sh
87-
- name: Install dependencies on Ubuntu and MacOS
88-
if: matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest'
89-
run: tools/flutter-dependencies.sh
90-
- name: Install dependencies on Windows
91-
if: matrix.os == 'windows-latest'
92-
run: tools/flutter-dependencies.bat
9382
- name: Run tests
9483
run: (cd packages/flutter && flutter test --coverage)
9584
- name: Convert code coverage

0 commit comments

Comments
 (0)