haskell / alex

A lexical analyser generator for Haskell
https://hackage.haskell.org/package/alex
BSD 3-Clause "New" or "Revised" License
297 stars 82 forks source link

CI on GitHub Actions using a patched haskell-ci generated workflow #189

Closed andreasabel closed 3 years ago

andreasabel commented 3 years ago

WIP, first successful run at https://github.com/andreasabel/alex/runs/2829343149?check_suite_focus=true

Rests on/includes PR #188.

andreasabel commented 3 years ago

This PR is now ready.

Please have a look at the supplied DEVELOPER.md for the explanation of the philosophy of this CI: It uses the workflow generated by haskell-ci and adds bits that are specific to Alex:

This PR should ideally squashed, but after merging #188 (so that #188's commits do not get squashed into the GHA specific stuff).

Ericson2314 commented 3 years ago

I think I will just start with this one :).

Can you rebase this first? I think it would be good if the PR also didn't have the extra diff from #188, even if I do squash it, for anyone reading the PR after.

andreasabel commented 3 years ago

I rebased it onto current master, so now the #188 bits are gone. The commit sequence is otherwise unchanged and still reflects my try-and-error process, it is probably best to squash this into one commit.