-
Notifications
You must be signed in to change notification settings - Fork 96
Bounds and project tidying #378
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good overall, thanks for the cleaning up!
@@ -99,7 +99,7 @@ test-suite func-test | |||
main-is: FuncTest.hs | |||
hs-source-dirs: func-test | |||
type: exitcode-stdio-1.0 | |||
build-depends: base <4.16 | |||
build-depends: base |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should not have the package base bounds?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It depends on lsp-test
which has the bounds - adding them here just means extra work IMO.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh I missed the existing bound in the package lib 👍
.github/workflows/haskell.yml
Outdated
@@ -20,7 +20,7 @@ jobs: | |||
- uses: haskell/actions/setup@v1 | |||
with: | |||
ghc-version: ${{ matrix.ghc }} | |||
cabal-version: '3.4' | |||
cabal-version: 'latest' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not always last cabal is good, would 3.6
be too much careful?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
afaik 3.6 will pick 3.6.2.0, 3.6.0.0 suffered some bugs
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fair enough.
Also delete bounds on components other than the main library component, they don't do anything.
0249e0f
to
029be8b
Compare
Pulled out of #377