-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Remove GHC repetitions from Github actions #3241
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
The version of Cabal to install. | ||
required: false | ||
default: "latest" | ||
default: "3.10.2.0" |
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.
Better to pin down cabal too.
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.
Yeah always better to pin down stuff. Although cabal specifically is mostly ok to always use the newest version. But one day breaking change will come, so why not pin down :).
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.
This is now the only file that lists both versions. We get much less repetition at the cost of some flexibility (e.g., we can no longer dispatch or call waspc-build
with a different compiler version.
Is this important to us @cprecioso?
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.
@sodic not that i know of
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.
Sweet! OK yeah why not, if we will need more flexibility, we can go for it, till we don't this sounds good.
This PR reduces the number of places where we explicitly list our GHC/Cabal version by relying on the defualt versions in the
setup-haskell
action.