Skip to content

Commit a32fce6

Browse files
committed
CI: no need in chown for ghcup anymore
1 parent 1ffa1d4 commit a32fce6

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

.github/workflows/validate.yml

-10
Original file line numberDiff line numberDiff line change
@@ -71,16 +71,6 @@ jobs:
7171
key: ${{ runner.os }}-${{ matrix.ghc }}-20220419-${{ github.sha }}
7272
restore-keys: ${{ runner.os }}-${{ matrix.ghc }}-20220419-
7373

74-
# See https://github.com/haskell/cabal/pull/8739
75-
- name: Sudo chmod to permit ghcup to update its cache
76-
run: |
77-
if [[ "${{ runner.os }}" == "Linux" ]]; then
78-
sudo ls -lah /usr/local/.ghcup/cache
79-
sudo mkdir -p /usr/local/.ghcup/cache
80-
sudo ls -lah /usr/local/.ghcup/cache
81-
sudo chown -R $USER /usr/local/.ghcup
82-
sudo chmod -R 777 /usr/local/.ghcup
83-
fi
8474
- uses: haskell/actions/setup@v2
8575
id: setup-haskell
8676
with:

0 commit comments

Comments
 (0)