diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index d952d1b3aff..72e471dbd6a 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -57,6 +57,11 @@ jobs: - uses: actions/checkout@v3 + - name: Sudo chmod to permit ghcup to update its cache + run: | + sudo mkdir -p /usr/local/.ghcup/cache + sudo chmod -R g+wr /usr/local/.ghcup/cache + - uses: haskell/actions/setup@v2 id: setup-haskell with: