Skip to content

Commit 18a3fb9

Browse files
committed
Make the fine-grained test work better
1 parent db2a6e7 commit 18a3fb9

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/failfast.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,15 @@ jobs:
77
runs-on: windows-latest
88

99
steps:
10+
- name: Check out repository
11+
uses: actions/checkout@v4
1012
- name: External command reporting failure
1113
run: |
1214
echo a >t
1315
git add t
1416
echo b >>t
15-
git diff --exit-code -- t
16-
echo done
17+
git diff --exit-code -- t # Should fail.
18+
git log --oneline -1 # Should succeed, if run.
1719
- name: Cmdlet reporting an error
1820
run: |
1921
cat foo

0 commit comments

Comments
 (0)