Skip to content

Commit 4a9ea3c

Browse files
committed
fix: test_action jobs
1 parent 1cae31b commit 4a9ea3c

2 files changed

Lines changed: 12 additions & 4 deletions

File tree

.github/workflows/test.yaml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,12 @@ jobs:
3131
- name: Set up Flutter
3232
uses: subosito/flutter-action@v2
3333
with:
34-
flutter-version: '3.19.6'
34+
flutter-version: '3.27.3'
3535
channel: 'stable'
36+
cache: true
37+
38+
- name: Install dependencies
39+
run: flutter pub get
3640

3741
- name: Run Flutter Diff Action
3842
uses: ./
@@ -67,12 +71,16 @@ jobs:
6771
- name: Set up Flutter
6872
uses: subosito/flutter-action@v2
6973
with:
70-
flutter-version: '3.19.6'
74+
flutter-version: '3.27.3'
7175
channel: 'stable'
76+
cache: true
7277

7378
- name: Install Melos
7479
run: dart pub global activate melos
7580

81+
- name: Run Melos
82+
run: melos bs
83+
7684
- name: Run Flutter Diff Action
7785
uses: ./
7886
with:
@@ -83,7 +91,7 @@ jobs:
8391

8492
verify_tests:
8593
name: Verify All Tests
86-
needs: [ test_simple_app, test_super_app ]
94+
needs: [test_simple_app, test_super_app]
8795
runs-on: ubuntu-latest
8896
if: always()
8997
steps:

packages/dart_diff_cli/lib/src/utils/git_utils.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ String getRelativeBasePath([Logger? logger]) {
1717
final basePath = Directory.current.path.withUnixPath();
1818
final repoRoot = getGitRepoRoot();
1919
final relativeBasePath = basePath.withoutBasePath(repoRoot);
20-
logger?.info('Running in current directory: $relativeBasePath \n'
20+
logger?.info('Current directory: $relativeBasePath \n'
2121
'Repository root: $repoRoot \n'
2222
'Relative base path: $relativeBasePath \n');
2323
return relativeBasePath;

0 commit comments

Comments
 (0)