{"id":18022060,"url":"https://github.com/acifani/setup-tinygo","last_synced_at":"2025-06-17T02:33:30.131Z","repository":{"id":44755958,"uuid":"424746263","full_name":"acifani/setup-tinygo","owner":"acifani","description":"GitHub action to setup a TinyGo environment","archived":false,"fork":false,"pushed_at":"2024-05-27T05:46:04.000Z","size":97,"stargazers_count":17,"open_issues_count":2,"forks_count":3,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-10-30T08:26:34.687Z","etag":null,"topics":["actions","github-actions","golang","tinygo"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/acifani.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":"2021-11-04T21:34:28.000Z","updated_at":"2024-10-04T05:14:10.000Z","dependencies_parsed_at":"2022-09-10T00:50:55.537Z","dependency_job_id":"dab1f01a-ea62-4612-9b51-b904dd23a949","html_url":"https://github.com/acifani/setup-tinygo","commit_stats":{"total_commits":18,"total_committers":3,"mean_commits":6.0,"dds":"0.11111111111111116","last_synced_commit":"2be24841b15e881cb4644baebaf962525cf7ec27"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acifani%2Fsetup-tinygo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acifani%2Fsetup-tinygo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acifani%2Fsetup-tinygo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acifani%2Fsetup-tinygo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/acifani","download_url":"https://codeload.github.com/acifani/setup-tinygo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245747531,"owners_count":20665805,"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","tinygo"],"created_at":"2024-10-30T06:11:54.976Z","updated_at":"2025-03-26T22:31:02.490Z","avatar_url":"https://github.com/acifani.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# setup-tinygo\n\n[![Check dist/](https://github.com/acifani/setup-tinygo/actions/workflows/check-dist.yml/badge.svg)](https://github.com/acifani/setup-tinygo/actions/workflows/check-dist.yml)\n[![Validate](https://github.com/acifani/setup-tinygo/actions/workflows/validate.yml/badge.svg)](https://github.com/acifani/setup-tinygo/actions/workflows/validate.yml)\n\nThis actions sets up a TinyGo environment for GitHub Actions.\n\n## Usage\n\n### Basic\n\n```yaml\nsteps:\n  - uses: actions/checkout@v2\n  - uses: acifani/setup-tinygo@v2\n    with:\n      tinygo-version: '0.30.0'\n```\n\n### With matrix expansion\n\n```yaml\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        tinygo: ['0.29.0', '0.30.0']\n    name: TinyGo ${{ matrix.tinygo }}\n    steps:\n      - uses: actions/checkout@v2\n      - uses: acifani/setup-tinygo@v2\n        with:\n          tinygo-version: ${{ matrix.tinygo }}\n```\n\n### With custom Go version\n\nTinyGo needs Go and, by default, this action will use whatever\nversion is available in the runner. If you want to control the\nGo version, you can use `actions/setup-go` before `acifani/setup-tinygo`\n\n```yaml\nsteps:\n  - uses: actions/checkout@v2\n  - uses: actions/setup-go@v2\n    with:\n      go-version: 1.21\n  - uses: acifani/setup-tinygo@v2\n    with:\n      tinygo-version: '0.30.0'\n```\n\n### With custom Binaryen version\n\nThis action will install [Binaryen](https://github.com/WebAssembly/binaryen)\nwhich is needed for building WASM on Windows and MacOS.\nYou can customize the version with the dedicated input value\n\n```yaml\nsteps:\n  - uses: actions/checkout@v2\n  - uses: acifani/setup-tinygo@v2\n    with:\n      tinygo-version: '0.30.0'\n      binaryen-version: '116'\n```\n\n### Without Binaryen\n\nIf you don't need Binaryen, you can omit the installation\n\n```yaml\nsteps:\n  - uses: actions/checkout@v2\n  - uses: acifani/setup-tinygo@v2\n    with:\n      tinygo-version: '0.30.0'\n      install-binaryen: 'false'\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Facifani%2Fsetup-tinygo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Facifani%2Fsetup-tinygo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Facifani%2Fsetup-tinygo/lists"}