Skip to content

Commit 9f2e1e2

Browse files
Alex0jkAlexander Mejia
and
Alexander Mejia
authored
Add boundaries for dependencies in cabal file (#37)
* Add boundaries for dependencies in cabal file Update GH Actions to also build with GHC 9 * Add boundaries on test package * Update some boundaries Remove boundaries in test package --------- Co-authored-by: Alexander Mejia <[email protected]>
1 parent 8c7dc96 commit 9f2e1e2

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

.github/workflows/build.yml

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ jobs:
1616
ghc:
1717
- "8.10"
1818
- "8.4.3"
19+
- "9.4.7"
1920
runs-on: ubuntu-latest
2021
steps:
2122
- name: Checkout

atomic-write.cabal

+7-7
Original file line numberDiff line numberDiff line change
@@ -65,12 +65,12 @@ library
6565
other-modules: System.AtomicWrite.Internal
6666

6767
build-depends: base >= 4.5 && < 5.0
68-
, temporary
69-
, unix-compat
70-
, directory
71-
, filepath
72-
, text
73-
, bytestring >= 0.10.4
68+
, temporary >= 1.3 && < 1.4
69+
, unix-compat >= 0.7 && < 1.0
70+
, directory >= 1.3 && < 1.4
71+
, filepath >= 1.4 && < 1.5
72+
, text >= 2.1 && < 3.0
73+
, bytestring >= 0.10.4 && < 0.13.0
7474

7575
hs-source-dirs: src
7676
default-language: Haskell2010
@@ -100,7 +100,7 @@ test-suite atomic-write-test
100100
, unix-compat
101101
, filepath
102102
, text
103-
, bytestring >= 0.10.4
103+
, bytestring
104104
, hspec
105105

106106
build-tools: hspec-discover >= 2.0 && < 3.0

0 commit comments

Comments
 (0)