{"id":15647499,"url":"https://github.com/kleidukos/get-tested","last_synced_at":"2026-06-28T15:00:24.363Z","repository":{"id":63468505,"uuid":"567815253","full_name":"Kleidukos/get-tested","owner":"Kleidukos","description":"Go get tested! Github Actions matrix generator for your haskell projects' CI","archived":false,"fork":false,"pushed_at":"2026-06-27T15:54:08.000Z","size":8437,"stargazers_count":58,"open_issues_count":14,"forks_count":4,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-06-27T17:20:11.161Z","etag":null,"topics":["ci","continuous-integration","github-actions","haskell"],"latest_commit_sha":null,"homepage":"","language":"Haskell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Kleidukos.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-11-18T16:38:05.000Z","updated_at":"2026-06-27T13:29:48.000Z","dependencies_parsed_at":"2024-01-06T13:21:55.094Z","dependency_job_id":"a39bef4d-5233-4c38-ae6d-bf3aa3b4db7f","html_url":"https://github.com/Kleidukos/get-tested","commit_stats":{"total_commits":104,"total_committers":6,"mean_commits":"17.333333333333332","dds":0.375,"last_synced_commit":"5735011a022a9c761c11472b75450892e5b3f21a"},"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"purl":"pkg:github/Kleidukos/get-tested","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kleidukos%2Fget-tested","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kleidukos%2Fget-tested/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kleidukos%2Fget-tested/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kleidukos%2Fget-tested/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Kleidukos","download_url":"https://codeload.github.com/Kleidukos/get-tested/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kleidukos%2Fget-tested/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34876271,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-28T02:00:05.809Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ci","continuous-integration","github-actions","haskell"],"created_at":"2024-10-03T12:19:40.524Z","updated_at":"2026-06-28T15:00:24.354Z","avatar_url":"https://github.com/Kleidukos.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# get-tested\n\nA CLI tool that retrieves the `tested-with` stanza of a cabal file and formats\nit in such a way that GitHub Actions can use it.\n\n## Usage\n\nThe inputs of the action (under the `with:` stanza) are the following:\n\n*  `cabal-file:` \\\n   The path to your cabal file, e.g. somefolder/myproject.cabal.\n   \\\n   _Required:_ true\n\n*  `version:` \\\n   The version of the get-tested tool that is used.\n   \\\n   _Required:_ false \\\n   _Default:_ The latest release\n\n*  `windows:` \\\n   **(deprecated)** Enable Windows runner, latest version.\n   \\\n   _Required:_ false \\\n   _Default:_ false\n\n*  `windows-version:` \\\n   Enable Windows runner. If both `windows` and `windows-version` inputs are\n   set, the explicit version will take priority.\n   \\\n   _Required:_ false \\\n   _Default:_ Not set\n\n*  `macos:` \\\n   **(deprecated)** Enable macOS runner, latest version.\n   \\\n   _Required:_ false \\\n   _Default:_ false\n\n*  `macos-version:` \\\n   Enable macOS runner. If both `macos` and `macos-version` inputs are set, the\n   explicit version will take priority.\n   \\\n   _Required:_ false \\\n   _Default:_ Not set\n\n*  `ubuntu:` \\\n   **(deprecated)** Enable Ubuntu runner, latest version.\n   \\\n   _Required:_ false \\\n   _Default:_ false\n\n*  `ubuntu-version:` \\\n   Enable Ubuntu runner. If both `ubuntu` and `ubuntu-version` inputs are set,\n   the explicit version will take priority.\n   \\\n   _Required:_ false \\\n   _Default:_ Not set\n\n*  `newest:` \\\n   Enable only the newest GHC version found in the cabal file\n   \\\n   _Required:_ false \\\n   _Default:_ false\n\n*  `oldest:` \\\n   Enable only the oldest GHC version found in the cabal file\n   \\\n   _Required:_ false \\\n   _Default:_ false\n\n**Important:**\n- You **must** specify at least one platform to run tests.\n- This means at least one of the following six inputs must be provided:\n  - `windows` or `windows-version`\n  - `macos` or `macos-version`\n  - `ubuntu` or `ubuntu-version`\n - Deprecated flags (`windows`, `macos`, `ubuntu`) use the latest version.\n - If both a deprecated flag and an explicit version are provided, the explicit version **takes priority**.\n - The `*-version` inputs support comma-separated syntax to allow for multiple version selection (e.g. `\"latest, 22.04\"`).\n\nSee below for an example:\n\n```yaml\njobs:\n  generate-matrix:\n    name: \"Generate matrix from cabal\"\n    outputs:\n      matrix: ${{ steps.set-matrix.outputs.matrix }}\n    runs-on: ubuntu-latest\n    steps:\n      - name: Extract the tested GHC versions\n        id: set-matrix\n        uses: kleidukos/get-tested@v0.1.9.1\n        with:\n          cabal-file: get-tested.cabal\n          ubuntu-version: \"latest\"\n          macos-version: \"latest\"\n          version: 0.1.9.1\n  tests:\n    name: ${{ matrix.ghc }} on ${{ matrix.os }}\n    needs: generate-matrix\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix: ${{ fromJSON(needs.generate-matrix.outputs.matrix) }}\n```\n\n![](./showcase.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkleidukos%2Fget-tested","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkleidukos%2Fget-tested","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkleidukos%2Fget-tested/lists"}