{"id":15765610,"url":"https://github.com/posener/goaction-example","last_synced_at":"2025-03-13T22:32:10.999Z","repository":{"id":84686944,"uuid":"260703083","full_name":"posener/goaction-example","owner":"posener","description":"Simplest goaction example","archived":false,"fork":false,"pushed_at":"2020-05-08T06:14:11.000Z","size":9,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-05T12:43:16.482Z","etag":null,"topics":["example","github-action","go","goaction","golang"],"latest_commit_sha":null,"homepage":"http://github.com/posener/goaction","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/posener.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":"2020-05-02T14:21:34.000Z","updated_at":"2024-01-23T23:22:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"0eade99d-0a67-4484-bb9e-67515484f208","html_url":"https://github.com/posener/goaction-example","commit_stats":null,"previous_names":[],"tags_count":1,"template":true,"template_full_name":"posener/go-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/posener%2Fgoaction-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/posener%2Fgoaction-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/posener%2Fgoaction-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/posener%2Fgoaction-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/posener","download_url":"https://codeload.github.com/posener/goaction-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243494339,"owners_count":20299801,"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":["example","github-action","go","goaction","golang"],"created_at":"2024-10-04T12:43:08.128Z","updated_at":"2025-03-13T22:32:10.690Z","avatar_url":"https://github.com/posener.png","language":"Go","readme":"# Goaction Example\n\nan example of the simplest goaction sctipt.\n\nNotice that the only non-generated file is [./main.go](./main.go).\nThe generated files were generated using Github action [./github/workflows/goaction.yml](./github/workflows/goaction.yml).\n\nThe [./main.go](./main.go) is the only non-generated file and is a simple Go script, and can be run with:\n\n```go\n$ go run .\n```\n\nThe [./action.yml](./action.yml) is autogenerated and contains the action definition. Notice that the flag from the\nprogram below appears as the input for the Github action. You can see the action in-action in the\n[action page](https://github.com/posener/goaction-example/actions?query=workflow%3A.github%2Fworkflows%2Fgoaction.yml).\n\nThe [./Dockerfile](./Dockerfile) is autogenerated and will also run the [./main.go](./main.go) sctipt. You can build and run it\nwith docker, even if you don't have Go installed on your machine:\n\n```go\n$ docker build -t goaction-example .\n$ docker run --rm goaction-example\n```\n\nThis is the simplest program possible. Goaction also provides a library that helps writing Github\naction scripts easily.\n\n---\nReadme created from Go doc with [goreadme](https://github.com/posener/goreadme)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fposener%2Fgoaction-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fposener%2Fgoaction-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fposener%2Fgoaction-example/lists"}