Skip to content

Commit e64b61e

Browse files
July541pepeiborra
andauthored
Support ghc-9.2.3 (#2936)
* Support ghc-9.2.3 * ormolu-0.5 * Update stack.yaml Co-authored-by: Pepe Iborra <[email protected]>
1 parent 8a5840a commit e64b61e

File tree

12 files changed

+27
-58
lines changed

12 files changed

+27
-58
lines changed

.github/workflows/caching.yml

+3-4
Original file line numberDiff line numberDiff line change
@@ -80,11 +80,10 @@ jobs:
8080
strategy:
8181
fail-fast: false
8282
matrix:
83-
ghc: [ "9.2.2"
83+
ghc: [ "9.2.3"
84+
, "9.2.2"
8485
, "9.0.2"
85-
, "9.0.1"
8686
, "8.10.7"
87-
, "8.10.6"
8887
, "8.8.4"
8988
, "8.6.5"
9089
]
@@ -118,7 +117,7 @@ jobs:
118117
cabal $cabalBuild || cabal $cabalBuild || cabal $cabalBuild
119118
env:
120119
# needed for GHC 9.2.2 https://github.com/digital-asset/ghc-lib/issues/352
121-
CPATH:"/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/ffi":$CPATH
120+
CPATH: "/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/ffi:$CPATH"
122121

123122
# We build ghcide with benchs and test enabled to include its dependencies in the cache
124123
# (including shake-bench)

.github/workflows/flags.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
strategy:
4545
fail-fast: true
4646
matrix:
47-
ghc: [ "9.2.2"
47+
ghc: [ "9.2.3"
4848
, "9.0.2"
4949
, "8.10.7"
5050
, "8.8.4"
@@ -68,7 +68,7 @@ jobs:
6868
run: cabal v2-build ghcide --flags="ghc-patched-unboxed-bytecode test-exe executable bench-exe ekg"
6969

7070
# we have to clean up warnings for 9.0 and 9.2 before enable -WAll
71-
- if: matrix.ghc != '9.0.2' && matrix.ghc != '9.2.2'
71+
- if: matrix.ghc != '9.0.2' && matrix.ghc != '9.2.3'
7272
name: Build with pedantic (-WError)
7373
run: cabal v2-build --flags="pedantic"
7474

.github/workflows/test.yml

+10-13
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,10 @@ jobs:
5757
strategy:
5858
fail-fast: true
5959
matrix:
60-
ghc: [ "9.2.2"
60+
ghc: [ "9.2.3"
61+
, "9.2.2"
6162
, "9.0.2"
62-
, "9.0.1"
6363
, "8.10.7"
64-
, "8.10.6"
6564
, "8.8.4"
6665
, "8.6.5"
6766
]
@@ -71,7 +70,7 @@ jobs:
7170
include:
7271
# only test supported ghc major versions
7372
- os: ubuntu-latest
74-
ghc: '9.2.2'
73+
ghc: '9.2.3'
7574
test: true
7675
- os: ubuntu-latest
7776
ghc: '9.0.2'
@@ -86,7 +85,7 @@ jobs:
8685
ghc: '8.6.5'
8786
test: true
8887
- os: windows-latest
89-
ghc: '9.2.2'
88+
ghc: '9.2.3'
9089
test: true
9190
- os: windows-latest
9291
ghc: '9.0.2'
@@ -98,12 +97,10 @@ jobs:
9897
ghc: '8.6.5'
9998
test: true
10099
# only build rest of supported ghc versions for windows
101-
- os: windows-latest
102-
ghc: '9.0.1'
103-
- os: windows-latest
104-
ghc: '8.10.6'
105100
- os: windows-latest
106101
ghc: '8.8.4'
102+
- os: windows-latest
103+
ghc: '9.2.2'
107104

108105
steps:
109106
- uses: actions/checkout@v3
@@ -162,7 +159,7 @@ jobs:
162159
HLS_WRAPPER_TEST_EXE: hls-wrapper
163160
run: cabal test wrapper-test --test-options="$TEST_OPTS --rerun-log-file .tasty-rerun-log-wrapper" || cabal test wrapper-test --test-options="$TEST_OPTS --rerun-log-file .tasty-rerun-log-wrapper" || cabal test wrapper-test --test-options="$TEST_OPTS --rerun-log-file .tasty-rerun-log-wrapper"
164161

165-
- if: matrix.test && matrix.ghc != '9.2.2'
162+
- if: matrix.test && matrix.ghc != '9.2.3'
166163
name: Test hls-brittany-plugin
167164
run: cabal test hls-brittany-plugin --test-options="$TEST_OPTS" || cabal test hls-brittany-plugin --test-options="$TEST_OPTS" || LSP_TEST_LOG_COLOR=0 LSP_TEST_LOG_MESSAGES=true LSP_TEST_LOG_STDERR=true cabal test hls-brittany-plugin --test-options="$TEST_OPTS"
168165

@@ -182,11 +179,11 @@ jobs:
182179
name: Test hls-eval-plugin
183180
run: cabal test hls-eval-plugin --test-options="$TEST_OPTS" || cabal test hls-eval-plugin --test-options="$TEST_OPTS" || LSP_TEST_LOG_COLOR=0 LSP_TEST_LOG_MESSAGES=true LSP_TEST_LOG_STDERR=true cabal test hls-eval-plugin --test-options="$TEST_OPTS"
184181

185-
- if: matrix.test && matrix.ghc != '9.2.2'
182+
- if: matrix.test && matrix.ghc != '9.2.3'
186183
name: Test hls-haddock-comments-plugin
187184
run: cabal test hls-haddock-comments-plugin --test-options="$TEST_OPTS" || cabal test hls-haddock-comments-plugin --test-options="$TEST_OPTS" || LSP_TEST_LOG_COLOR=0 LSP_TEST_LOG_MESSAGES=true LSP_TEST_LOG_STDERR=true cabal test hls-haddock-comments-plugin --test-options="$TEST_OPTS"
188185

189-
- if: matrix.test && matrix.ghc != '9.2.2'
186+
- if: matrix.test && matrix.ghc != '9.2.3'
190187
name: Test hls-splice-plugin
191188
run: cabal test hls-splice-plugin --test-options="$TEST_OPTS" || cabal test hls-splice-plugin --test-options="$TEST_OPTS" || LSP_TEST_LOG_COLOR=0 LSP_TEST_LOG_MESSAGES=true LSP_TEST_LOG_STDERR=true cabal test hls-splice-plugin --test-options="$TEST_OPTS"
192189

@@ -202,7 +199,7 @@ jobs:
202199
name: Test hls-fourmolu-plugin
203200
run: cabal test hls-fourmolu-plugin --test-options="$TEST_OPTS" || cabal test hls-fourmolu-plugin --test-options="$TEST_OPTS" || LSP_TEST_LOG_COLOR=0 LSP_TEST_LOG_MESSAGES=true LSP_TEST_LOG_STDERR=true cabal test hls-fourmolu-plugin --test-options="$TEST_OPTS"
204201

205-
- if: matrix.test && matrix.ghc != '9.2.2'
202+
- if: matrix.test && matrix.ghc != '9.2.3'
206203
name: Test hls-tactics-plugin test suite
207204
run: cabal test hls-tactics-plugin --test-options="$TEST_OPTS" || cabal test hls-tactics-plugin --test-options="$TEST_OPTS" || LSP_TEST_LOG_COLOR=0 LSP_TEST_LOG_MESSAGES=true LSP_TEST_LOG_STDERR=true cabal test hls-tactics-plugin --test-options="$TEST_OPTS"
208205

.gitlab-ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ variables:
1919
CABAL_PROJECT: cabal.project
2020
- GHC_VERSION: 9.2.2
2121
CABAL_PROJECT: cabal.project
22-
- GHC_VERSION: 9.2.1
22+
- GHC_VERSION: 9.2.3
2323
CABAL_PROJECT: cabal.project
2424

2525
workflow:

bindist/ghcs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
8.8.4,cabal.project
33
8.10.7,cabal.project
44
9.0.2,cabal.project
5-
9.2.1,cabal.project
65
9.2.2,cabal.project
6+
9.2.3,cabal.project

bindist/ghcs-Msys

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
8.10.7,cabal.project
22
9.0.2,cabal.project
33
9.2.2,cabal.project
4-
9.2.1,cabal.project
4+
9.2.3,cabal.project

cabal.project

+1-22
Original file line numberDiff line numberDiff line change
@@ -67,26 +67,5 @@ allow-newer:
6767
-- ghc-9.2
6868
----------
6969
hiedb:base,
70-
retrie:ghc-exactprint,
7170

72-
-- for brittany
73-
-- https://github.com/lspitzner/multistate/pull/8
74-
multistate:base,
75-
-- https://github.com/lspitzner/data-tree-print/pull/3
76-
data-tree-print:base,
77-
-- https://github.com/lspitzner/butcher/pull/8
78-
butcher:base,
79-
80-
-- for shake-bench
81-
Chart:lens,
82-
Chart-diagrams:lens,
83-
84-
-- for ekg
85-
ekg-core:base,
86-
ekg-core:ghc-prim,
87-
ekg-wai:base,
88-
ekg-wai:time,
89-
90-
-- for shake-bench
91-
Chart-diagrams:diagrams-core,
92-
SVGFonts:diagrams-core
71+
ekg-wai:time

ghcide/ghcide.cabal

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ description:
1313
A library for building Haskell IDE's on top of the GHC API.
1414
homepage: https://github.com/haskell/haskell-language-server/tree/master/ghcide#readme
1515
bug-reports: https://github.com/haskell/haskell-language-server/issues
16-
tested-with: GHC == 8.6.5 || == 8.8.4 || == 8.10.6 || == 8.10.7 || == 9.0.1 || == 9.0.2 || == 9.2.1 || == 9.2.2
16+
tested-with: GHC == 8.6.5 || == 8.8.4 || == 8.10.7 || == 9.0.2 || == 9.2.2 || == 9.2.3
1717
extra-source-files: README.md CHANGELOG.md
1818
test/data/**/*.project
1919
test/data/**/*.cabal

haskell-language-server.cabal

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ copyright: The Haskell IDE Team
1414
license: Apache-2.0
1515
license-file: LICENSE
1616
build-type: Simple
17-
tested-with: GHC == 8.6.5 || == 8.8.4 || == 8.10.6 || == 8.10.7 || == 9.0.2 || == 9.2.2
17+
tested-with: GHC == 8.6.5 || == 8.8.4 || == 8.10.7 || == 9.0.2 || == 9.2.2 || == 9.2.3
1818
extra-source-files:
1919
README.md
2020
ChangeLog.md

plugins/hls-ormolu-plugin/hls-ormolu-plugin.cabal

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ library
2828
, hls-plugin-api ^>=1.3 || ^>=1.4
2929
, lens
3030
, lsp
31-
, ormolu ^>=0.1.2 || ^>= 0.2 || ^>= 0.3 || ^>= 0.4
31+
, ormolu ^>=0.1.2 || ^>= 0.2 || ^>= 0.3 || ^>= 0.5
3232
, text
3333

3434
default-language: Haskell2010

stack-lts19.yaml

+4-5
Original file line numberDiff line numberDiff line change
@@ -39,20 +39,19 @@ extra-deps:
3939
- Cabal-3.6.0.0
4040
- floskell-0.10.6@sha256:e77d194189e8540abe2ace2c7cb8efafc747ca35881a2fefcbd2d40a1292e036,3819
4141
- fourmolu-0.6.0.0
42-
- ghc-lib-9.2.2.20220307
43-
- ghc-lib-parser-9.2.2.20220307
44-
- ghc-lib-parser-ex-9.2.0.3
42+
- ghc-lib-9.2.3.20220527
43+
- ghc-lib-parser-9.2.3.20220527
44+
- ghc-lib-parser-ex-9.2.0.4
4545
- heapsize-0.3.0.1@sha256:0b69aa97a46d819b700ac7b145f3b5493c3565cf2c5b8298682238d405d0326e,1417
4646
- hiedb-0.4.1.0@sha256:fb20c657d9ecc91701b00dffcf4bbd77cb83720a1f9d867badd77ea227973135,2875
4747
- hlint-3.4
4848
- implicit-hie-0.1.2.7@sha256:82bbbb1a8c05f99c8af3c16ac53e80c8648d8bf047b25ed5ce45a135bd736907,3122
4949
- implicit-hie-cradle-0.5.0.0@sha256:4276f60f3a59bc22df03fd918f73bca9f777de9568f85e3a8be8bd7566234a59,2368
5050
- monad-dijkstra-0.1.1.3
51-
- ormolu-0.4.0.0
51+
- ormolu-0.5.0.0
5252
- refinery-0.4.0.0@sha256:fe3a43add8ff1db5cfffee7e7694c86128b1dfe62c541f26e25a8eadf9585610,1663
5353
- retrie-1.1.0.0
5454
- stylish-haskell-0.14.2.0@sha256:fffe1c13ad4c2678cf28a7470cac5d3bf20c71c36f09969e3e5f186787cceb7c,4321
55-
- SVGFonts-1.7.0.1 # for Chart-diagrams, https://github.com/timbod7/haskell-chart/issues/232
5655

5756
configure-options:
5857
ghcide:

stack.yaml

+1-6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
resolver: nightly-2022-04-28
2-
compiler: ghc-9.2.2
1+
resolver: nightly-2022-06-10
32

43
packages:
54
- .
@@ -34,8 +33,6 @@ packages:
3433
- ./plugins/hls-gadt-plugin
3534

3635
extra-deps:
37-
- Chart-1.9.3@sha256:640a38463318b070d80a049577e4f0b3322df98290abb7afcf0cb74a4ad5b512,2948
38-
- Chart-diagrams-1.9.3@sha256:63668daff044a79827b7edb265265a4a8237424abb8f808ad1fcbdb3d47e753d,1801
3936
- direct-sqlite-2.3.26@sha256:04e835402f1508abca383182023e4e2b9b86297b8533afbd4e57d1a5652e0c23,3718
4037
- floskell-0.10.6@sha256:e77d194189e8540abe2ace2c7cb8efafc747ca35881a2fefcbd2d40a1292e036,3819
4138
- heapsize-0.3.0.1@sha256:0b69aa97a46d819b700ac7b145f3b5493c3565cf2c5b8298682238d405d0326e,1417
@@ -50,8 +47,6 @@ extra-deps:
5047
- retrie-1.2.0.1
5148
- rope-utf16-splay-0.3.2.0
5249
- sqlite-simple-0.4.18.0@sha256:3ceea56375c0a3590c814e411a4eb86943f8d31b93b110ca159c90689b6b39e5,3002
53-
- SVGFonts-1.7.0.1 # for Chart-diagrams, https://github.com/timbod7/haskell-chart/issues/232
54-
5550

5651
# currently needed for ghcide>extra, etc.
5752
allow-newer: true

0 commit comments

Comments
 (0)