{"id":13709821,"url":"https://github.com/korandoru/setup-zig","last_synced_at":"2025-02-22T11:30:44.533Z","repository":{"id":59002344,"uuid":"534495500","full_name":"korandoru/setup-zig","owner":"korandoru","description":"Set up your GitHub Actions workflow with a specific version of Zig (https://ziglang.org/).","archived":true,"fork":false,"pushed_at":"2024-10-05T08:45:34.000Z","size":2141,"stargazers_count":19,"open_issues_count":0,"forks_count":3,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-02-12T07:01:10.083Z","etag":null,"topics":["github-actions","zig","ziglang"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/korandoru.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":"2022-09-09T04:20:25.000Z","updated_at":"2025-02-12T05:22:39.000Z","dependencies_parsed_at":"2023-01-11T17:23:23.708Z","dependency_job_id":"75b84753-aca1-4655-80da-5f8e00b89b1c","html_url":"https://github.com/korandoru/setup-zig","commit_stats":{"total_commits":31,"total_committers":1,"mean_commits":31.0,"dds":0.0,"last_synced_commit":"9cc8c4ed053ad72d4db1c1971908c1fbbf34a74c"},"previous_names":[],"tags_count":16,"template":false,"template_full_name":"actions/typescript-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/korandoru%2Fsetup-zig","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/korandoru%2Fsetup-zig/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/korandoru%2Fsetup-zig/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/korandoru%2Fsetup-zig/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/korandoru","download_url":"https://codeload.github.com/korandoru/setup-zig/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240170070,"owners_count":19759140,"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":["github-actions","zig","ziglang"],"created_at":"2024-08-02T23:00:46.690Z","updated_at":"2025-02-22T11:30:43.999Z","avatar_url":"https://github.com/korandoru.png","language":"TypeScript","readme":"# Setup Zig\n\n## Archived\n\nUse [mlugg/setup-zig](https://github.com/marketplace/actions/setup-zig-compiler) instead.\n\n## Original\n\n[![CI](https://github.com/korandoru/setup-zig/actions/workflows/ci.yml/badge.svg)](https://github.com/korandoru/setup-zig/actions/workflows/ci.yml)\n[![release](https://img.shields.io/github/v/release/korandoru/setup-zig)](https://github.com/korandoru/setup-zig/releases)\n[![release date](https://img.shields.io/github/release-date/korandoru/setup-zig)](https://github.com/korandoru/setup-zig/releases)\n\nThis action provides the following functionality for GitHub Actions users:\n\n* Downloading and caching distribution of the requested Zig version, and adding it to the PATH\n\n## Usage\n\nSee [action.yml](action.yml).\n\n**Basic:**\n\n```yml\nsteps:\n  - uses: actions/checkout@v3\n  - uses: korandoru/setup-zig@v1\n    with:\n      zig-version: 0.9.1 # released versions or master\n  - run: zig build test\n```\n\nThe `zig-version` input is required. Options include [all released versions](https://ziglang.org/download/) or \"master\".\n\nThe action will first check the local cache for a semver match. If unable to find a specific version in the cache, the action will attempt to download a version of Zig.\n\nFor information regarding locally cached versions of Zig on GitHub-hosted runners, check out [GitHub Actions Runner Images](https://github.com/actions/runner-images).\n\n## Matrix Testing\n\n```yml\njobs:\n  build:\n    strategy:\n      fail-fast: false\n      matrix:\n        zig: [ 0.12.0-dev.1710+2bffd8101, 0.11.0, 0.10.0, master ]\n        os: [ ubuntu-latest, windows-latest, macos-latest ]\n    runs-on: ${{ matrix.os }}\n    name: Zig ${{ matrix.zig }} on ${{ matrix.os }}\n    steps:\n      - uses: actions/checkout@v3\n      - name: Setup Zig\n        uses: korandoru/setup-zig@v1\n        with:\n          zig-version: ${{ matrix.zig }}\n      - run: zig build test\n```\n\n## License\n\nThe scripts and documentation in this project are released under the [Apache License 2.0](LICENSE).\n","funding_links":[],"categories":["Tools"],"sub_categories":["Package and Version Manager"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkorandoru%2Fsetup-zig","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkorandoru%2Fsetup-zig","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkorandoru%2Fsetup-zig/lists"}