{"id":34991342,"url":"https://github.com/buildkite-plugins/gopath-checkout-buildkite-plugin","last_synced_at":"2026-04-01T20:59:40.855Z","repository":{"id":17573129,"uuid":"82256649","full_name":"buildkite-plugins/gopath-checkout-buildkite-plugin","owner":"buildkite-plugins","description":"⛺️ Setup your GOPATH and checkout directory for running Go commands","archived":false,"fork":false,"pushed_at":"2025-05-30T13:29:42.000Z","size":101,"stargazers_count":5,"open_issues_count":0,"forks_count":2,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-05-30T18:42:03.513Z","etag":null,"topics":["buildkite","buildkite-plugin","elastic-stack-supported","golang","hosted-linux-supported","hosted-mac-supported"],"latest_commit_sha":null,"homepage":"","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/buildkite-plugins.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2017-02-17T04:18:55.000Z","updated_at":"2025-05-30T13:29:44.000Z","dependencies_parsed_at":"2024-02-13T17:02:31.372Z","dependency_job_id":null,"html_url":"https://github.com/buildkite-plugins/gopath-checkout-buildkite-plugin","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/buildkite-plugins/gopath-checkout-buildkite-plugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buildkite-plugins%2Fgopath-checkout-buildkite-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buildkite-plugins%2Fgopath-checkout-buildkite-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buildkite-plugins%2Fgopath-checkout-buildkite-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buildkite-plugins%2Fgopath-checkout-buildkite-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/buildkite-plugins","download_url":"https://codeload.github.com/buildkite-plugins/gopath-checkout-buildkite-plugin/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buildkite-plugins%2Fgopath-checkout-buildkite-plugin/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31013968,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-27T02:58:54.984Z","status":"ssl_error","status_checked_at":"2026-03-27T02:58:46.993Z","response_time":164,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["buildkite","buildkite-plugin","elastic-stack-supported","golang","hosted-linux-supported","hosted-mac-supported"],"created_at":"2025-12-27T01:55:12.443Z","updated_at":"2026-03-27T03:17:37.335Z","avatar_url":"https://github.com/buildkite-plugins.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GOPATH Checkout Buildkite Plugin [![Build status](https://badge.buildkite.com/dfa888829723dcf23369cc29c9f375f1206bedca625c7f0c1e.svg?branch=master)](https://buildkite.com/buildkite/plugins-gopath-checkout)\n\nA [Buildkite plugin](https://buildkite.com/docs/agent/v3/plugins) for running [Go](https://golang.org) code directly on your agent machines. It does this by setting the `$GOPATH`, and checking out your project into the correct directory structure.\n\nSee also the [golang-build plugin](https://github.com/buildkite-plugins/golang-build-buildkite-plugin).\n\n## Example\n\nThe following pipeline will ensure the project is checked out into the correct `$GOPATH/src` directory before running the `go test` command:\n\n```yml\nsteps:\n  - command: go test\n    plugins:\n      - gopath-checkout#v2.0.0:\n          import: github.com/my-org/my-project\n```\n\n## Configuration\n\n### `import`\n\nThe import path to use when the project is checked out. For example, if you develop in `$GOPATH/src/github.com/my-org/my-project` then the `import` option should be `github.com/my-org/my-project`.\n\n## Compatibility\n\n| Elastic Stack | Agent Stack K8s | Hosted (Mac) | Hosted (Linux) | Notes |\n| :-----------: | :-------------: | :----: | :----: |:---- |\n| ✅ | ❌ | ✅ | ✅ | **K8s** Uses `pre-checkout` hook, which runs in separate `checkout` container from commands |\n\n- ✅ Fully supported (all combinations of attributes have been tested to pass)\n- ⚠️ Partially supported (some combinations cause errors/issues)\n- ❌ Not supported\n\n## Developing\n\nTo run testing, shellchecks and plugin linting use use `bk run` with the [Buildkite CLI](https://github.com/buildkite/cli).\n\n```bash\nbk run\n```\n\nOr if you want to run just the tests, you can use the docker [Plugin Tester](https://github.com/buildkite-plugins/buildkite-plugin-tester):\n\n```bash\ndocker run --rm -ti -v \"${PWD}\":/plugin buildkite/plugin-tester:latest\n```\n\n## Roadmap\n\n* Prepend to existing `$GOPATH`s instead of replacing\n\n## License\n\nMIT (see [LICENSE](LICENSE))\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuildkite-plugins%2Fgopath-checkout-buildkite-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbuildkite-plugins%2Fgopath-checkout-buildkite-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuildkite-plugins%2Fgopath-checkout-buildkite-plugin/lists"}