Skip to content

Commit c7acf49

Browse files
committed
CI: {caching,test}: upd commets
This should short-cirquit.
1 parent 6970aa8 commit c7acf49

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.github/workflows/caching.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,9 @@ jobs:
101101
name: (GHC 9.0.1) Use modified `cabal.project`
102102
run: |
103103
# File has some protections preventing regular `rm`.
104-
# `&&` insures `rm -f` returns positive.
105-
# Some platforms have `alias cp='cp -i'`.
104+
# (most probably sticky bit is set on $HOME)
105+
# `&&` insures `rm -f` return is positive.
106+
# Many platforms aslo have `alias cp='cp -i'`.
106107
rm -f -v cabal.project && cp -v cabal-ghc901.project cabal.project
107108
- if: runner.os == 'Windows' && matrix.ghc == '8.8.4'
108109
name: (Windows,GHC 8.8) Modify `cabal.project` to workaround segfaults

.github/workflows/test.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,9 @@ jobs:
9696
name: (GHC 9.0.1) Use modified `cabal.project`
9797
run: |
9898
# File has some protections preventing regular `rm`.
99-
# `&&` insures `rm -f` returns positive.
100-
# Some platforms have `alias cp='cp -i'`.
99+
# (most probably sticky bit is set on $HOME)
100+
# `&&` insures `rm -f` return is positive.
101+
# Many platforms aslo have `alias cp='cp -i'`.
101102
rm -f -v cabal.project && cp -v cabal-ghc901.project cabal.project
102103
- if: runner.os == 'Windows' && matrix.ghc == '8.8.4'
103104
name: (Windows,GHC 8.8) Modify `cabal.project` to workaround segfaults

0 commit comments

Comments
 (0)