Skip to content

Commit 058fc0e

Browse files
committed
Update Stack LTS to 20.44 (GHC 9.6.7)
1 parent 286bfbe commit 058fc0e

File tree

5 files changed

+21
-19
lines changed

5 files changed

+21
-19
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
# If you change it, make sure to adjust lower bounds there to reflect the change.
4545
# Also, make sure to adjust tested-with field in package.yaml so that it contains
4646
# corresponding GHC version.
47-
stack-resolver: lts-19.33
47+
stack-resolver: lts-22.44
4848

4949
steps:
5050
- name: Checkout the repo

package.yaml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ category: System, Filesystem, FilePath
1515

1616
description: Replacement for a FilePath that enables you to handle filepaths in your code in a type-safe manner. You can specify at type level if they are relative, absolute, file, directory, posix, windows, and even to which file or directory they point to or are relative to.
1717

18+
# Todo figure out what to do with this
1819
tested-with: GHC == 8.10.7, GHC == 9.0.1 # lts-18.21, nightly-2022-01-04
1920

2021
dependencies:
@@ -25,18 +26,19 @@ library:
2526
ghc-options:
2627
- -Wall
2728
dependencies:
29+
# TODO: I set them both to the same version, figure out what do do
2830
# NOTE: Version bounds here and in tests are defined so that they cover the latest LTS snapshot
29-
# (lts-18.21) (lower bounds) and the nightly snapshot defined in stack.yaml (upper bounds).
31+
# (lts-22.44) (lower bounds) and the nightly snapshot defined in stack.yaml (upper bounds).
3032
# Those two are also tested in the CI, and corresponding GHC versions are mentioned above
3133
# in the tested-with field.
3234
# In case you decide to cover a different LTS with the lower bounds,
3335
# make sure to also update the CI to use the correct LTS for testing and also update
3436
# tested-with field above.
35-
- path >=0.9.2 && <0.10
37+
- path >=0.9.5 && <0.10
3638
- exceptions >=0.10 && <0.11
3739
- filepath >=1.4 && <1.5
38-
- template-haskell >=2.17 && <2.18
39-
- hashable >=1.3 && < 1.4
40+
- template-haskell >=2.20 && <2.21
41+
- hashable >=1.4 && < 1.5
4042

4143
tests:
4244
strong-path-test:
@@ -50,9 +52,9 @@ tests:
5052
- strong-path
5153
- path
5254
- filepath
53-
- hashable >=1.3 && < 1.4
55+
- hashable >=1.4 && < 1.5
5456
- tasty >=1.4 && <1.5
5557
- tasty-hspec >=1.2 && <1.3
5658
- tasty-quickcheck >=0.10 && <0.11
57-
- tasty-discover >=4.2 && <4.3
58-
- hspec >=2.8 && <2.10
59+
- tasty-discover >=5.0 && <5.1
60+
- hspec >=2.11 && <2.12

stack.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
# NOTE: If you modify this field, make sure to update the tested-with
2222
# field in package.yaml to contain the corresponding GHC versions.
23-
resolver: lts-19.33
23+
resolver: lts-22.44
2424

2525
# User packages to be built.
2626
# Various formats can be used as shown in the example below.

stack.yaml.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
packages: []
77
snapshots:
88
- completed:
9-
sha256: 6d1532d40621957a25bad5195bfca7938e8a06d923c91bc52aa0f3c41181f2d4
10-
size: 619204
11-
url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/19/33.yaml
12-
original: lts-19.33
9+
sha256: 238fa745b64f91184f9aa518fe04bdde6552533d169b0da5256670df83a0f1a9
10+
size: 721141
11+
url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/22/44.yaml
12+
original: lts-22.44

strong-path.cabal

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ library
4646
base >=4.7 && <5
4747
, exceptions ==0.10.*
4848
, filepath ==1.4.*
49-
, hashable ==1.3.*
50-
, path >=0.9.2 && <0.10
51-
, template-haskell ==2.17.*
49+
, hashable ==1.4.*
50+
, path >=0.9.5 && <0.10
51+
, template-haskell ==2.20.*
5252
default-language: Haskell2010
5353

5454
test-suite strong-path-test
@@ -70,12 +70,12 @@ test-suite strong-path-test
7070
build-depends:
7171
base >=4.7 && <5
7272
, filepath
73-
, hashable ==1.3.*
74-
, hspec >=2.8 && <2.10
73+
, hashable ==1.4.*
74+
, hspec ==2.11.*
7575
, path
7676
, strong-path
7777
, tasty ==1.4.*
78-
, tasty-discover ==4.2.*
78+
, tasty-discover ==5.0.*
7979
, tasty-hspec ==1.2.*
8080
, tasty-quickcheck ==0.10.*
8181
default-language: Haskell2010

0 commit comments

Comments
 (0)