Skip to content

Commit 2c0212b

Browse files
committed
CI: workflows: disable stack where it is not used
Hopefully it would remove it & its files from being cached in the action. & also not includde into environment.
1 parent c570656 commit 2c0212b

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ jobs:
3333
with:
3434
ghc-version : ${{ matrix.ghc }}
3535
cabal-version: ${{ matrix.cabal }}
36+
enable-stack: false
3637

3738
# some alpines come with integer-simple instead of integer-gmp
3839
- name: Force integer-simple

.github/workflows/caching.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ jobs:
6969
with:
7070
ghc-version: ${{ matrix.ghc }}
7171
cabal-version: ${{ matrix.cabal }}
72+
enable-stack: false
7273

7374
- if: runner.os == 'Windows'
7475
name: (Windows) Platform config

.github/workflows/hackage.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ jobs:
5252
with:
5353
ghc-version : ${{ matrix.ghc }}
5454
cabal-version: ${{ matrix.cabal }}
55+
enable-stack: false
5556

5657
- name: Cache Cabal
5758
uses: actions/cache@v2

.github/workflows/test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ jobs:
7979
with:
8080
ghc-version : ${{ matrix.ghc }}
8181
cabal-version: ${{ matrix.cabal }}
82+
enable-stack: false
8283

8384
- if: runner.os == 'Windows'
8485
name: (Windows) Platform config

0 commit comments

Comments
 (0)