Skip to content

Commit 2a379f3

Browse files
committed
CI: {caching,test}: upd commets
This should short-cirquit.
1 parent 2e2d431 commit 2a379f3

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
@@ -105,8 +105,9 @@ jobs:
105105
name: (GHC 9.0.1) Use modified `cabal.project`
106106
run: |
107107
# File has some protections preventing regular `rm`.
108-
# `&&` insures `rm -f` returns positive.
109-
# Some platforms have `alias cp='cp -i'`.
108+
# (most probably sticky bit is set on $HOME)
109+
# `&&` insures `rm -f` return is positive.
110+
# Many platforms aslo have `alias cp='cp -i'`.
110111
rm -f -v cabal.project && cp -v cabal-ghc901.project cabal.project
111112
- if: runner.os == 'Windows' && matrix.ghc == '8.8.4'
112113
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
@@ -97,8 +97,9 @@ jobs:
9797
name: (GHC 9.0.1) Use modified `cabal.project`
9898
run: |
9999
# File has some protections preventing regular `rm`.
100-
# `&&` insures `rm -f` returns positive.
101-
# Some platforms have `alias cp='cp -i'`.
100+
# (most probably sticky bit is set on $HOME)
101+
# `&&` insures `rm -f` return is positive.
102+
# Many platforms aslo have `alias cp='cp -i'`.
102103
rm -f -v cabal.project && cp -v cabal-ghc901.project cabal.project
103104
- if: runner.os == 'Windows' && matrix.ghc == '8.8.4'
104105
name: (Windows,GHC 8.8) Modify `cabal.project` to workaround segfaults

0 commit comments

Comments
 (0)