{"id":24167302,"url":"https://github.com/mattdowdell/go-installer","last_synced_at":"2026-05-19T14:40:21.976Z","repository":{"id":271527935,"uuid":"913741450","full_name":"mattdowdell/go-installer","owner":"mattdowdell","description":"A GitHub Action for installing and caching Go binaries.","archived":false,"fork":false,"pushed_at":"2025-05-10T07:23:21.000Z","size":25,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-10T08:26:25.624Z","etag":null,"topics":["actions"],"latest_commit_sha":null,"homepage":"https://github.com/marketplace/actions/go-installer","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mattdowdell.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-01-08T09:11:19.000Z","updated_at":"2025-05-10T07:23:23.000Z","dependencies_parsed_at":"2025-05-10T08:22:36.769Z","dependency_job_id":"d8f47b08-85a0-4b02-8500-9fe90af8f74f","html_url":"https://github.com/mattdowdell/go-installer","commit_stats":null,"previous_names":["mattdowdell/go-install","mattdowdell/go-installer"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/mattdowdell/go-installer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattdowdell%2Fgo-installer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattdowdell%2Fgo-installer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattdowdell%2Fgo-installer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattdowdell%2Fgo-installer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mattdowdell","download_url":"https://codeload.github.com/mattdowdell/go-installer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattdowdell%2Fgo-installer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272335807,"owners_count":24916529,"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","status":"online","status_checked_at":"2025-08-27T02:00:09.397Z","response_time":76,"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":["actions"],"created_at":"2025-01-12T21:13:03.631Z","updated_at":"2026-05-19T14:40:21.950Z","avatar_url":"https://github.com/mattdowdell.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-installer\n\nA GitHub Action for installing and caching Go binaries.\n\n## Usage\n\n```yaml\nname: CI\non:\n  pull_request:\njobs:\n  example:\n    name: Example\n    runs-on: ubuntu-latest\n    steps:\n      - name: Install Go\n        uses: actions/setup-go@v5\n\n      - name: Install latest tool\n        uses: mattdowdell/go-installer@v0.3.0\n        with:\n          package: github.com/example/some-tool\n          # version defaults to latest\n\n      - name: Install version of tool\n        uses: mattdowdell/go-installer@v0.3.0\n        with:\n          package: github.com/example/some-other-tool\n          version: v1.0.0\n\n      - name: Install version of tool from go.mod\n        uses: mattdowdell/go-installer@v0.3.0\n        with:\n          package: github.com/example/another-tool\n          version-file: go.mod\n```\n\n## Inputs\n\n| Name           | Type   | Default  | Description                                 |\n| -------------- | ------ | -------- | ------------------------------------------- |\n| `package`      | String |          | The Go package to install.                  |\n| `version`      | String | `latest` | The Go package version to install.          |\n| `version-file` | String |          | The `go.mod` file to take the version from. |\n\n### version-file\n\nThe `version-file` input is intended for when tool versions are tracked\nalongside other dependencies in a `go.mod` file. For example:\n\n```go\n// tools.go\n\n//go:build tools\n// +build tools\n\npackage main\n\nimport (\n  _ \"github.com/example/some-tool\"\n  _ \"github.com/example/some-other-tool\"\n  _ \"github.com/example/another-tool\"\n)\n```\n\nAfter running `go mod tidy`, the tool versions will be tracked in `go.mod`. The\nversions can then be upgraded manually or with your chosen dependency management\nsolution, e.g. [Dependabot] or [Renovate].\n\n[Dependabot]: https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/about-dependabot-version-updates\n[Renovate]: https://docs.renovatebot.com/\n\n## Outputs\n\n| Name      | Type   | Description                                      |\n| --------- | ------ | ------------------------------------------------ |\n| `cached`  | String | Whether the binary was installed from the cache. |\n| `name`    | String | The name of the installed binary.                |\n| `version` | String | The installed version.                           |\n\nIf the `version` input was latest, it will be the actual version that was\ninstalled. Otherwise it will be identical to the `version` input. This also\nincludes when `version-file` is used in which case the `version` output will be\nunset.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmattdowdell%2Fgo-installer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmattdowdell%2Fgo-installer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmattdowdell%2Fgo-installer/lists"}