Skip to content

Commit 924f38d

Browse files
[Infra] Show diff colours
Show colours for `git diff` in CI to make them easier to read for those who can see red-green colours.
1 parent 9624d8a commit 924f38d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,5 +132,6 @@ jobs:
132132
shell: bash
133133
run: |
134134
git status
135-
git diff
135+
git config color.diff always
136+
git --no-pager diff
136137
[[ -z "$(git status --porcelain)" ]]

0 commit comments

Comments
 (0)