# Go get tested! Test your supported GHC versions in GitHub Actions

**URL:** https://discourse.haskell.org/t/go-get-tested-test-your-supported-ghc-versions-in-github-actions/8483
**Category:** Announcements
**Created:** [January 6, 2024, 10:08pm UTC](https://discourse.haskell.org/t/go-get-tested-test-your-supported-ghc-versions-in-github-actions/8483 "2024-01-06T22:08:22Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Kleidukos](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.haskell.org/kleidukos/32/1213_2.png) [@Kleidukos](https://discourse.haskell.org/u/Kleidukos)
#### Post date: [January 6, 2024, 10:08pm UTC](https://discourse.haskell.org/t/go-get-tested-test-your-supported-ghc-versions-in-github-actions/8483/1 "2024-01-06T22:08:22Z")

</div>

Hello everyone,

Two years ago I created [get-tested](https://github.com/Kleidukos/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](https://github.com/marketplace/actions/test-supported-ghc-versions)

I am personally converting my existing projects to using it, and you should too! By doing this, and with the [appropriate Dependabot setup](https://github.com/Kleidukos/get-tested/blob/main/.github/dependabot.yml), you will receive automated updates to the Action code.

I nourish the project of having it included in the [haskell-actions](https://github.com/haskell-actions/) repository one day, and I’ll post an announcement if it happens.

Also, go get tested!  
Hécate

---

<div class="post-metadata">

### Author: ![Kleidukos](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.haskell.org/kleidukos/32/1213_2.png) [@Kleidukos](https://discourse.haskell.org/u/Kleidukos)
#### Post date: [January 6, 2024, 10:23pm UTC](https://discourse.haskell.org/t/go-get-tested-test-your-supported-ghc-versions-in-github-actions/8483/2 "2024-01-06T22:23:14Z")

</div>

As an aside, I also welcome patches to support other CI platforms, this tool is by no means meant to be specific to GitHub Actions forever!

---

<div class="post-metadata">

### Author: ![turion](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.haskell.org/turion/32/989_2.png) [@turion](https://discourse.haskell.org/u/turion)
#### Post date: [January 7, 2024, 12:35pm UTC](https://discourse.haskell.org/t/go-get-tested-test-your-supported-ghc-versions-in-github-actions/8483/3 "2024-01-07T12:35:06Z")

</div>

I use this in all my new Haskell projects and find it very useful.

---

<div class="post-metadata">

### Author: ![janus](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.haskell.org/janus/32/1060_2.png) [@janus](https://discourse.haskell.org/u/janus)
#### Post date: [January 9, 2024, 4:08am UTC](https://discourse.haskell.org/t/go-get-tested-test-your-supported-ghc-versions-in-github-actions/8483/4 "2024-01-09T04:08:54Z")

</div>

How does it compare to [haskell-ci](https://github.com/haskell-CI/haskell-ci)? As far as I understand, haskell-ci also reads the `Tested-With` field, and it also can generate code for GitHub Actions.

---

<div class="post-metadata">

### Author: ![Kleidukos](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.haskell.org/kleidukos/32/1213_2.png) [@Kleidukos](https://discourse.haskell.org/u/Kleidukos)
#### Post date: [January 9, 2024, 8:29am UTC](https://discourse.haskell.org/t/go-get-tested-test-your-supported-ghc-versions-in-github-actions/8483/5 "2024-01-09T08:29:16Z")

</div>

No codegen is involved! You do _not_ have to occasionally re-generate your CI file, which means that you can keep all the peculiarities and weird hacks you used to have. This tool only concerns itself with providing a list of OS and GHC versions. Some of which you can still exclude in the action file.
