Skip to content

Commit d78a47e

Browse files
authored
Bump CI (#484)
1 parent e75e107 commit d78a47e

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@ jobs:
99
strategy:
1010
matrix:
1111
os: [ubuntu-latest, macOS-latest]
12-
stack: ["2.1.3"]
13-
ghc: ["8.8.3"]
12+
stack: ["2.15.7"]
1413

1514
steps:
1615
- name: Get the version
@@ -19,17 +18,18 @@ jobs:
1918

2019
- uses: actions/checkout@v2
2120

22-
- uses: haskell/actions/setup@v2
21+
- uses: haskell-actions/setup@v2
2322
name: Setup Haskell Stack
2423
with:
25-
ghc-version: ${{ matrix.ghc }}
24+
enable-stack: true
2625
stack-version: ${{ matrix.stack }}
26+
stack-no-global: true
2727

2828
- uses: actions/cache@v2
2929
name: Cache ~/.stack
3030
with:
3131
path: ~/.stack
32-
key: "${{ runner.os }}-${{ matrix.ghc }}-v9-${{ hashFiles('stylish-haskell.cabal', 'stack.yaml', 'stack.yaml.lock') }}"
32+
key: "${{ runner.os }}-v9-${{ hashFiles('stylish-haskell.cabal', 'stack.yaml', 'stack.yaml.lock') }}"
3333

3434
- name: Add ~/.local/bin to PATH
3535
run: echo "$HOME/.local/bin" >> $GITHUB_PATH

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ COMPRESS_BIN_DEPS=$(UPX_BINARY)
2727
COMPRESS_BIN=upx
2828
endif
2929

30-
STACK=stack --system-ghc
30+
STACK=stack
3131

3232
# Default target.
3333
.PHONY: build

0 commit comments

Comments
 (0)