Skip to content

Commit 8f97056

Browse files
authored
Merge pull request #831 from avh4/perkee-bump-ghc-967
Merge #829
2 parents c99aa91 + 547175f commit 8f97056

File tree

29 files changed

+164
-174
lines changed

29 files changed

+164
-174
lines changed

.gitattributes

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
avh4-lib/avh4-lib.cabal linguist-generated=true
2+
elm-format-lib/elm-format-lib.cabal linguist-generated=true
3+
elm-format-markdown/elm-format-markdown.cabal linguist-generated=true
4+
elm-format-test-lib/elm-format-test-lib.cabal linguist-generated=true
5+
elm-format.cabal linguist-generated=true
6+
Shakefile/build-elm-format.cabal linguist-generated=true

.github/actions/haskell/action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,17 @@ runs:
55
if: ${{ runner.os == 'Linux' }}
66
shell: bash
77
run: sudo chown -R "$USER" /usr/local/.ghcup
8-
- uses: haskell/actions/setup@v2
8+
- uses: haskell-actions/setup@v2
99
name: Setup Haskell
1010
id: setup-haskell
1111
with:
12-
ghc-version: 9.4.4
12+
ghc-version: 9.6.7
1313
- name: Verify Haskell version
1414
shell: bash
1515
run: |
1616
cabal --version
1717
ghc --version
18-
[[ $(ghc --numeric-version) == 9.4.4 ]]
18+
[[ $(ghc --numeric-version) == 9.6.7 ]]
1919
file "$(which cabal)"
2020
file "$(which ghc)"
2121
- name: Cache ~/.cabal/store

.github/workflows/Build release (lamdera-community).yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
runner: [ self-hosted, macOS, ARM64 ]
2020
archive-label: macOS-arm64
2121
ghc:
22-
version: "9.4.4"
22+
version: "9.6.7"
2323
build-platform: aarch64-apple-darwin
2424

2525
name: release-${{ matrix.build.name }}

.gitpod.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ tasks:
77
init: |
88
curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | BOOTSTRAP_HASKELL_NONINTERACTIVE=1 BOOTSTRAP_HASKELL_MINIMAL=1 sh
99
source "$GHCUP_INSTALL_BASE_PREFIX/.ghcup/env"
10-
ghcup install ghc 9.4.4
11-
ghcup set ghc 9.4.4
10+
ghcup install ghc 9.6.7
11+
ghcup set ghc 9.6.7
1212
ghcup install cabal
1313
cabal update
1414
./dev/build.sh

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
FROM alpine:latest as build
22

3-
ENV GHC_VERSION 9.4.4
3+
ENV GHC_VERSION 9.6.7
44

55
ENV LANG C.UTF-8
66

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -305,8 +305,8 @@ git clone https://github.com/avh4/elm-format.git
305305
cd elm-format
306306
307307
# initial setup
308-
ghcup install ghc 9.4.4
309-
ghcup set ghc 9.4.4
308+
ghcup install ghc 9.6.7
309+
ghcup set ghc 9.6.7
310310
cabal install hpack
311311
312312
# build

Shakefile/src/Shakefiles/Haskell.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ cabalProject name sourceFiles sourcePatterns deps testPatterns testDeps =
112112
cabalBuildDir :: String -> Action FilePath
113113
cabalBuildDir projectName = do
114114
version <- readFile' ("_build/cabal" </> projectName </> "version")
115-
return $ "dist-newstyle" </> "build" </> Shakefiles.Platform.cabalInstallOs </> "ghc-9.4.4" </> projectName ++ "-" ++ version
115+
return $ "dist-newstyle" </> "build" </> Shakefiles.Platform.cabalInstallOs </> "ghc-9.6.7" </> projectName ++ "-" ++ version
116116

117117

118118
executable :: String -> String -> String -> Rules ()

Shakefile/src/Shakefiles/Haskell/Hpc.hs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ mergeTixFiles tixs out = do
1515
rules :: String -> Rules ()
1616
rules gitSha = do
1717
let hpcConfig =
18-
[ "--hpcdir=./dist-newstyle/_coverage/build/x86_64-linux/ghc-9.4.4/elm-format-0.8.7/hpc/vanilla/mix/elm-format"
19-
, "--hpcdir=./dist-newstyle/_coverage/build/x86_64-linux/ghc-9.4.4/avh4-lib-0.0.0.1/hpc/vanilla/mix/avh4-lib-0.0.0.1"
20-
, "--hpcdir=./dist-newstyle/_coverage/build/x86_64-linux/ghc-9.4.4/elm-format-lib-0.0.0.1/hpc/vanilla/mix/elm-format-lib-0.0.0.1"
21-
, "--hpcdir=./dist-newstyle/_coverage/build/x86_64-linux/ghc-9.4.4/elm-format-markdown-0.0.0.1/hpc/vanilla/mix/elm-format-markdown-0.0.0.1"
18+
[ "--hpcdir=./dist-newstyle/_coverage/build/x86_64-linux/ghc-9.6.7/elm-format-0.8.7/hpc/vanilla/mix/elm-format"
19+
, "--hpcdir=./dist-newstyle/_coverage/build/x86_64-linux/ghc-9.6.7/avh4-lib-0.0.0.1/hpc/vanilla/mix/avh4-lib-0.0.0.1"
20+
, "--hpcdir=./dist-newstyle/_coverage/build/x86_64-linux/ghc-9.6.7/elm-format-lib-0.0.0.1/hpc/vanilla/mix/elm-format-lib-0.0.0.1"
21+
, "--hpcdir=./dist-newstyle/_coverage/build/x86_64-linux/ghc-9.6.7/elm-format-markdown-0.0.0.1/hpc/vanilla/mix/elm-format-markdown-0.0.0.1"
2222
, "--srcdir=."
2323
, "--srcdir=avh4-lib"
2424
, "--srcdir=elm-format-lib"

avh4-lib/avh4-lib.cabal

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

avh4-lib/package.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ ghc-options:
2828
dependencies:
2929
array: ">= 0.5.4.0 && < 0.6"
3030
base: ">= 4.15.0.0 && < 5"
31-
bytestring: ">= 0.11.3.0 && < 0.12"
31+
bytestring: ">= 0.11.3.0 && < 0.13"
3232
directory: ">= 1.3.6.2 && < 2"
3333
filepath: ">= 1.4.2.1 && < 2"
3434
mtl: ">= 2.2.2 && < 3"

0 commit comments

Comments
 (0)