Due to a number of Tschernobyl like coincidences, I managed to break GitHub CI for you all. Thank me later.
The incident is explained here: ghcup broken · Issue #7061 · actions/runner-images · GitHub
You’re likely affected by it if you use ghcup or haskell/actions/setup
on a raw ubuntu runner (not docker container). Failures may manifest more prominently over the coming days while GitHub is rolling out the newly broken images to their runners slowly (yay).
The workaround is to add this step to your job prior to haskell setup action or any ghcup invocation (only on ubuntu linux without docker):
- name: Workaround runner image issue
# https://github.com/actions/runner-images/issues/7061
run: sudo chown -R $USER /usr/local/.ghcup
I’ve already provided a bugfix upstream: Fix GHCup wrt #7061 by hasufell · Pull Request #7068 · actions/runner-images · GitHub
However, it’s possible the bugfix will take up to two weeks to be deployed. I’ll post further updates here.