Skip to content

Commit b47f9f9

Browse files
authored
Merge branch 'master' into qualified-completion
2 parents 48ed975 + 09968a1 commit b47f9f9

File tree

16 files changed

+134
-91
lines changed

16 files changed

+134
-91
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

+2-23
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ package *
4444

4545
write-ghc-environment-files: never
4646

47-
index-state: 2022-04-30T21:02:45Z
47+
index-state: 2022-06-12T00:00:00Z
4848

4949
constraints:
5050
hyphenation +embed,
@@ -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

exe/Plugins.hs

+1-1
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ idePlugins recorder includeExamples = pluginDescToIdePlugins allPlugins
136136
Floskell.descriptor "floskell" :
137137
#endif
138138
#if fourmolu
139-
Fourmolu.descriptor "fourmolu" :
139+
Fourmolu.descriptor pluginRecorder "fourmolu" :
140140
#endif
141141
#if tactic
142142
Tactic.descriptor pluginRecorder "tactics" :

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-fourmolu-plugin/hls-fourmolu-plugin.cabal

+7-1
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,27 @@ license: Apache-2.0
99
license-file: LICENSE
1010
author: The Haskell IDE Team
1111
copyright: The Haskell IDE Team
12+
homepage: https://github.com/haskell/haskell-language-server
13+
bug-reports: https://github.com/haskell/haskell-language-server/issues
1214
maintainer: [email protected]
1315
category: Development
1416
build-type: Simple
1517
extra-source-files:
1618
LICENSE
1719
test/testdata/**/*.hs
1820

21+
source-repository head
22+
type: git
23+
location: git://github.com/haskell/haskell-language-server.git
24+
1925
library
2026
exposed-modules: Ide.Plugin.Fourmolu
2127
hs-source-dirs: src
2228
ghc-options: -Wall
2329
build-depends:
2430
, base >=4.12 && <5
2531
, filepath
26-
, fourmolu ^>=0.3 || ^>=0.4 || ^>= 0.6
32+
, fourmolu ^>=0.3 || ^>=0.4 || ^>= 0.6 || ^>= 0.7
2733
, ghc
2834
, ghc-boot-th
2935
, ghcide ^>=1.7

0 commit comments

Comments
 (0)