{"id":25527525,"url":"https://github.com/gotesttools/limgo-action","last_synced_at":"2026-01-09T17:30:25.074Z","repository":{"id":132830385,"uuid":"547208577","full_name":"GoTestTools/limgo-action","owner":"GoTestTools","description":"GitHub Action for limgo","archived":false,"fork":false,"pushed_at":"2024-06-26T13:04:58.000Z","size":59,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-14T09:43:46.229Z","etag":null,"topics":["github-actions","go","golang","test-coverage","testing"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GoTestTools.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2022-10-07T10:00:14.000Z","updated_at":"2024-06-26T19:35:27.000Z","dependencies_parsed_at":"2023-06-09T06:30:24.112Z","dependency_job_id":null,"html_url":"https://github.com/GoTestTools/limgo-action","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GoTestTools%2Flimgo-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GoTestTools%2Flimgo-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GoTestTools%2Flimgo-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GoTestTools%2Flimgo-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GoTestTools","download_url":"https://codeload.github.com/GoTestTools/limgo-action/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239742439,"owners_count":19689313,"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":["github-actions","go","golang","test-coverage","testing"],"created_at":"2025-02-19T22:19:28.348Z","updated_at":"2026-01-09T17:30:24.990Z","avatar_url":"https://github.com/GoTestTools.png","language":"TypeScript","readme":"\u003cp align=\"center\"\u003e\n  \u003ch2 align=\"center\"\u003elimgo-action\u003c/h3\u003e\n  \u003cp align=\"center\"\u003eDon't let your test coverage drop\u003c/p\u003e\n  \u003cp align=\"center\"\u003e\n    \u003ca href=\"https://github.com/GoTestTools/limgo-action/releases/latest\"\u003e\u003cimg alt=\"GitHub release\" src=\"https://img.shields.io/github/release/GoTestTools/limgo-action.svg?logo=github\u0026\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://opensource.org/licenses/MIT\"\u003e\u003cimg alt=\"unlicense\" src=\"https://img.shields.io/badge/License-MIT-yellow.svg\"\u003e\u003c/a\u003e\n  \u003c/p\u003e\n\u003c/p\u003e\n\n---\n\nThis action uses [limgo](https://github.com/GoTestTools/limgo) to enforce test coverage thresholds. \n\n## Usage\n\nYou can use `limgo-action` with the following configuration:\n\n```yaml\njobs:\n  build:\n    name: Test\n    runs-on: ubuntu-latest\n    steps:\n      # Checkout your project with git\n      - name: Checkout\n        uses: actions/checkout@v2\n\n      # Install Go on the VM running the action.\n      - name: Set up Go\n        uses: actions/setup-go@v2\n        with:\n          go-version: 1.19\n\n      # Run your tests with -coverprofile\n      - name: Run tests\n        run: |\n          go test ./... -coverprofile=test.cov\n        \n      # Option 1:\n      # Run the test coverage check using the limgo-action\n      - name: Run test coverage check\n        uses: GoTestTools/limgo-action@v1.0.0\n        with:\n          version: \"v0.0.0-beta\"\n          args: \"-coverfile=test.cov -outfile=covcheck.tmp -config=.limgo.json -v=3\"\n      \n      # Option 2:\n      # Only install limgo and use it later\n      - name: Run test coverage check\n        uses: GoTestTools/limgo-action@v1.0.0\n        with:\n          version: \"v0.0.0-beta\"\n          install-only: true\n      \n      # Optional: \n      # Upload the coverage check results as artifact\n      - name: Upload test coverage results\n        uses: actions/upload-artifact@v3\n        if: success() || failure()\n        with:\n          name: test-coverage-results\n          path: covcheck.tmp\n          if-no-files-found: error\n```\n\nFor more information about `limgo` please see the [limgo](https://github.com/GoTestTools/limgo) repository.","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgotesttools%2Flimgo-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgotesttools%2Flimgo-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgotesttools%2Flimgo-action/lists"}