Skip to content

Commit c99aa91

Browse files
authored
Merge pull request #818 from avh4/update-dependencies
Update to GHC 9.4.4
2 parents af3f182 + 55557eb commit c99aa91

File tree

20 files changed

+162
-125
lines changed

20 files changed

+162
-125
lines changed

.github/actions/haskell/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ runs:
99
name: Setup Haskell
1010
id: setup-haskell
1111
with:
12-
ghc-version: 9.2.5
12+
ghc-version: 9.4.4
1313
- name: Verify Haskell version
1414
shell: bash
1515
run: |
1616
cabal --version
1717
ghc --version
18-
[[ $(ghc --numeric-version) == 9.2.5 ]]
18+
[[ $(ghc --numeric-version) == 9.4.4 ]]
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.2.5"
22+
version: "9.4.4"
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.2.5
11-
ghcup set ghc 9.2.5
10+
ghcup install ghc 9.4.4
11+
ghcup set ghc 9.4.4
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.2.5
3+
ENV GHC_VERSION 9.4.4
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.2.5
309-
ghcup set ghc 9.2.5
308+
ghcup install ghc 9.4.4
309+
ghcup set ghc 9.4.4
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.2.5" </> projectName ++ "-" ++ version
115+
return $ "dist-newstyle" </> "build" </> Shakefiles.Platform.cabalInstallOs </> "ghc-9.4.4" </> 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.2.5/elm-format-0.8.7/hpc/vanilla/mix/elm-format"
19-
, "--hpcdir=./dist-newstyle/_coverage/build/x86_64-linux/ghc-9.2.5/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.2.5/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.2.5/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.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"
2222
, "--srcdir=."
2323
, "--srcdir=avh4-lib"
2424
, "--srcdir=elm-format-lib"

avh4-lib/avh4-lib.cabal

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cabal-version: 2.2
22

3-
-- This file has been generated from package.yaml by hpack version 0.35.1.
3+
-- This file has been generated from package.yaml by hpack version 0.35.2.
44
--
55
-- see: https://github.com/sol/hpack
66

@@ -49,7 +49,7 @@ library
4949
, mtl >=2.2.2 && <3
5050
, pooled-io >=0.0.2 && <0.1
5151
, process >=1.6.13.2 && <2
52-
, relude >=1.1.0.0 && <1.2
52+
, relude >=1.1.0.0 && <1.3
5353
, text >=2.0 && <3
5454
default-language: Haskell2010
5555

@@ -94,9 +94,8 @@ test-suite al-tests
9494
, mtl >=2.2.2 && <3
9595
, pooled-io >=0.0.2 && <0.1
9696
, process >=1.6.13.2 && <2
97-
, relude >=1.1.0.0 && <1.2
97+
, relude >=1.1.0.0 && <1.3
9898
, tasty >=1.2 && <2
99-
, tasty-hspec >=1.2.0.1 && <1.3
10099
, tasty-hunit >=0.10.0.1 && <0.11
101100
, text >=2.0 && <3
102101
default-language: Haskell2010

avh4-lib/package.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ dependencies:
3434
mtl: ">= 2.2.2 && < 3"
3535
pooled-io: ">= 0.0.2 && < 0.1"
3636
process: ">= 1.6.13.2 && < 2"
37-
relude: ">= 1.1.0.0 && < 1.2"
37+
relude: ">= 1.1.0.0 && < 1.3"
3838
text: ">= 2.0 && < 3"
3939

4040

@@ -52,7 +52,6 @@ tests:
5252

5353
dependencies:
5454
tasty: ">= 1.2 && < 2"
55-
tasty-hspec: ">= 1.2.0.1 && < 1.3"
5655
tasty-hunit: ">= 0.10.0.1 && < 0.11"
5756

5857
build-tools:

cabal.project

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ packages:
55
./elm-format-test-lib,
66
./
77
./Shakefile
8-
with-compiler: ghc-9.2.5
8+
with-compiler: ghc-9.4.4
99

1010
constraints:
1111
-- ansi-terminal-0.11.1 has issues with Win32-2.10.* (which is packaged with ghc-9.0)

0 commit comments

Comments
 (0)