{"id":15647499,"url":"https://github.com/kleidukos/get-tested","last_synced_at":"2025-07-09T19:38:14.864Z","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":"2025-06-26T22:47:37.000Z","size":8367,"stargazers_count":50,"open_issues_count":11,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-07T00:06:31.105Z","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}},"created_at":"2022-11-18T16:38:05.000Z","updated_at":"2025-06-26T22:47:41.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":13,"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","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264502493,"owners_count":23618619,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":"2025-07-09T19:38:14.766Z","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\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.7.1\n        with:\n          cabal-file: get-tested.cabal\n          ubuntu-version: \"latest\"\n          macos-version: \"latest\"\n          version: 0.1.7.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"}