Kleidukos / print-api

Dump the declarations of Haskell modules
11 stars 1 forks source link

Building `exe:print-api` with the latest supported version of GHC #24

Open Kleidukos opened 2 weeks ago

Kleidukos commented 2 weeks ago

@mmhat Currently as we stand, we provide print-api-$ghc_version and print-api as part of every build job that is specific to an OS and a GHC version:

https://github.com/Kleidukos/print-api/releases/tag/print-api-head

I would like to suggest that we use the latest GHC version supported to build print for each OS, as a different job. What do you think?

mmhat commented 2 weeks ago

Oh that would be a lot cleaner than the current GH workflow! As I wrote in https://github.com/Kleidukos/print-api/pull/16#discussion_r1739917913 I'd prefer that get-tested indicates what the newest tested GHC version is. For your propsal I think it would be enough if there was a --latest flag for get-tested that outputs a matrix with the newest GHC only. Until that is supported, I think it is fine to hardcode the GHC 9.10.1 release in the proposed job.