Skip to content

Commit bb0ada9

Browse files
committed
Update CI
Add 9.12, drop 9.2, enable sempahore if available.
1 parent cef6697 commit bb0ada9

File tree

4 files changed

+9
-10
lines changed

4 files changed

+9
-10
lines changed

.github/workflows/haskell.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
strategy:
1515
fail-fast: false
1616
matrix:
17-
ghc-version: ['9.10', '9.8', '9.6', '9.4', '9.2']
17+
ghc-version: ['9.12', '9.10', '9.8', '9.6', '9.4']
1818
# Unlikely that we'll succeed on windows and fail on macos,
1919
# including it is just burning CI time. But windows could have
2020
# path or IO issues, so worth including

cabal.project

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
index-state: 2024-12-23T14:00:00Z
1+
index-state: 2025-06-07T00:00:00Z
22

33
packages:
44
./lsp
@@ -13,7 +13,5 @@ benchmarks: True
1313
package lsp
1414
flags: +demo
1515

16-
package lsp-types
17-
-- This makes a big difference here as lsp-types
18-
-- has very many independent modules
19-
ghc-options: -j4
16+
-- Useful if available
17+
semaphore: true

flake.lock

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

lsp/src/Language/LSP/Server/Core.hs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,8 @@ defaultOptions = def
322322
it is parameterized over a config type variable representing the type for the
323323
specific configuration data the language server needs to use.
324324
-}
325-
data ServerDefinition config = forall m a.
325+
data ServerDefinition config
326+
= forall m a.
326327
ServerDefinition
327328
{ defaultConfig :: config
328329
-- ^ The default value we initialize the config variable to.

0 commit comments

Comments
 (0)