@@ -142,6 +142,13 @@ jobs:
142142 --local-bin-path ${{env.ucm_local_bin}} \
143143 --copy-bins
144144
145+ # The unison-cli test requires a git user.
146+ - name : set git user info
147+ if : steps.cache-ucm-binaries.outputs.cache-hit != 'true'
148+ run : |
149+ git config --global user.name "GitHub Actions"
150+ git config --global user.email "actions@github.com"
151+
145152 # Run each test suite (tests and transcripts)
146153 - name : unison-cli test
147154 if : steps.cache-ucm-binaries.outputs.cache-hit != 'true'
@@ -244,12 +251,12 @@ jobs:
244251 path : ${{env.ucm_local_bin}}
245252 key : ucm-${{ matrix.os }}-${{ hashFiles('**/stack.yaml', '**/package.yaml', '**/*.hs')}}
246253 fail-on-cache-miss : true
247- # # One of the transcripts fails if the user's git name hasn't been set.
248- # # # (Which transcript? -AI)
249- # - name: set git user info
250- # run: |
251- # git config --global user.name "GitHub Actions"
252- # git config --global user.email "actions@github.com"
254+ # One of the transcripts fails if the user's git name hasn't been set.
255+ # # (Which transcript? -AI)
256+ - name : set git user info
257+ run : |
258+ git config --global user.name "GitHub Actions"
259+ git config --global user.email "actions@github.com"
253260 - name : round-trip-tests
254261 if : steps.cache-transcript-test-results.outputs.cache-hit != 'true'
255262 run : |
0 commit comments