{"id":17045166,"url":"https://github.com/sjkaliski/go-github-actions","last_synced_at":"2025-04-12T15:31:16.643Z","repository":{"id":145954162,"uuid":"163917038","full_name":"sjkaliski/go-github-actions","owner":"sjkaliski","description":"GitHub Actions for Golang","archived":false,"fork":false,"pushed_at":"2020-06-28T02:11:35.000Z","size":18,"stargazers_count":56,"open_issues_count":7,"forks_count":7,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-26T10:04:40.740Z","etag":null,"topics":["actions","github-actions","golang","workflow"],"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/sjkaliski.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":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-01-03T03:10:05.000Z","updated_at":"2024-09-27T03:25:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"aec4b0f0-1a9e-4132-a492-7156e6024d8b","html_url":"https://github.com/sjkaliski/go-github-actions","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjkaliski%2Fgo-github-actions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjkaliski%2Fgo-github-actions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjkaliski%2Fgo-github-actions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjkaliski%2Fgo-github-actions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sjkaliski","download_url":"https://codeload.github.com/sjkaliski/go-github-actions/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248589459,"owners_count":21129616,"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":["actions","github-actions","golang","workflow"],"created_at":"2024-10-14T09:36:37.200Z","updated_at":"2025-04-12T15:31:16.635Z","avatar_url":"https://github.com/sjkaliski.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-github-actions\n\nA collection of [GitHub Actions](https://github.com/features/actions) for use in [Golang](https://golang.org/) projects.\n\n## Actions\n\nCurrently there is support for `gofmt` and `golint`. If triggered by a `pull_request`, any failure will be posted back to the PR as a comment.\n\n### gofmt\n\nRuns `gofmt` on files in the directory. Fails if any file is not properly formatted.\n\n```hcl\nworkflow \"Go\" {\n  on = \"pull_request\"\n  resolves = [\"gofmt\"]\n}\n\naction \"gofmt\" {\n  uses    = \"sjkaliski/go-github-actions/fmt@v1.0.0\"\n  needs   = \"previous-action\"\n  secrets = [\"GITHUB_TOKEN\"]\n\n  env {\n    GO_WORKING_DIR = \"./path/to/go/files\"\n    GO_IGNORE_DIRS = \"./vendor\"\n  }\n}\n```\n\nTo learn more about `gofmt`, visit the [official docs](https://golang.org/cmd/gofmt/).\n\n### golint\n\nRuns `golint` on files in the directory. Fails if any file fails lint checks.\n\n```hcl\nworkflow \"Go\" {\n  on = \"pull_request\"\n  resolves = [\"golint\"]\n}\n\naction \"golint\" {\n  uses    = \"sjkaliski/go-github-actions/lint@v1.0.0\"\n  needs   = \"previous-action\"\n  secrets = [\"GITHUB_TOKEN\"]\n\n  env {\n    GO_WORKING_DIR = \"./path/to/go/files\"\n    GO_LINT_PATHS  = \"./pkg/... ./cmd/...\"\n  }\n}\n```\n\nTo learn more about `golint`, see the [golint repository](https://github.com/golang/lint/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsjkaliski%2Fgo-github-actions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsjkaliski%2Fgo-github-actions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsjkaliski%2Fgo-github-actions/lists"}