Skip to content

Commit 36eadaf

Browse files
committed
ci: Revert uncommitted changes in dart package tests
1 parent 0ceed6c commit 36eadaf

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -52,19 +52,8 @@ jobs:
5252
- name: Lint
5353
run: dart format --output=none --set-exit-if-changed packages/dart
5454
- name: Rollback uncommitted changes for Fix Bug mocks
55-
shell: pwsh
5655
run: |
57-
$files = @(
58-
"packages\dart\test\src\network\parse_query_test.mocks.dart",
59-
"packages\dart\test\src\objects\parse_object\parse_object_test.mocks.dart"
60-
)
61-
$files | ForEach-Object {
62-
if (Test-Path $_) {
63-
git checkout -- $_
64-
} else {
65-
Write-Host "File $_ does not exist, skipping checkout."
66-
}
67-
}
56+
git checkout HEAD .
6857
- name: Publish dry run
6958
run: cd packages/dart && dart pub publish --dry-run
7059
- name: Run tests

0 commit comments

Comments
 (0)