Two years ago I created get-tested, a tool that reads your cabal file, extracts the
tested-with stanza and produces a test matrix for GitHub Actions.
It has served me well to this day, but it also recently received a very useful contribution from @turion, who wrote a reusable Github Action for it! I am extremely grateful for this effort.
You can view the instructions here: Test supported GHC versions · Actions · GitHub Marketplace · GitHub
I am personally converting my existing projects to using it, and you should too! By doing this, and with the appropriate Dependabot setup, you will receive automated updates to the Action code.
I nourish the project of having it included in the haskell-actions repository one day, and I’ll post an announcement if it happens.
Also, go get tested!