Kleidukos / get-tested

Go get tested! Github Actions matrix generator for your haskell projects
BSD 3-Clause "New" or "Revised" License
44 stars 3 forks source link

Maybe just emit the GHC versions as an array #8

Closed michaelpj closed 1 year ago

michaelpj commented 1 year ago

Then you can load it into your own dimension. That's useful if you want to add other dimensions to your matrix. I think you can't actually do that at all with get-tested today since it emits the entire matrix definition.

That might also simplify things since you wouldn't need the OS flags to emit those parts of the matrix. More composable.

Kleidukos commented 1 year ago

Absolutely a good idea yes

turion commented 1 year ago

Can you give an example output? I'd try my luck.

Kleidukos commented 1 year ago

I believe something like ["8.10.7", "9.0.2", "9.2.6", "9.4.4"] as the output?

Kleidukos commented 1 year ago

@turion So, the idea would be that in the absence of OS flags, the compilers array would be returned. At the moment it doesn't do that.