{"id":21477485,"url":"https://github.com/spectralops/rust-ci-release-template","last_synced_at":"2025-07-15T10:33:28.969Z","repository":{"id":39639509,"uuid":"408459232","full_name":"SpectralOps/rust-ci-release-template","owner":"SpectralOps","description":"A Github Actions based CI release template for Rust binaries","archived":false,"fork":false,"pushed_at":"2022-05-30T05:41:42.000Z","size":50,"stargazers_count":67,"open_issues_count":1,"forks_count":3,"subscribers_count":4,"default_branch":"master","last_synced_at":"2023-06-04T09:15:32.982Z","etag":null,"topics":["ci","rust","rust-lang","tools"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/SpectralOps.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-09-20T13:43:05.000Z","updated_at":"2023-06-04T07:53:28.000Z","dependencies_parsed_at":"2022-08-09T15:08:16.651Z","dependency_job_id":null,"html_url":"https://github.com/SpectralOps/rust-ci-release-template","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpectralOps%2Frust-ci-release-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpectralOps%2Frust-ci-release-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpectralOps%2Frust-ci-release-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpectralOps%2Frust-ci-release-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SpectralOps","download_url":"https://codeload.github.com/SpectralOps/rust-ci-release-template/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226033247,"owners_count":17563126,"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":["ci","rust","rust-lang","tools"],"created_at":"2024-11-23T11:13:49.335Z","updated_at":"2024-11-23T11:13:50.073Z","avatar_url":"https://github.com/SpectralOps.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n   \u003cimg src=\"media/ci.png\" width=\"355\"/\u003e\n\u003c/p\u003e\n\u003chr/\u003e\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"https://github.com/spectralops/rust-ci-release-template/actions/workflows/build.yml/badge.svg\"/\u003e\n\n\u003c/p\u003e\n\n# Rust CI Release Template\n\n_A Github Actions based CI release template._\n\n\nThis repo serves as a live template, and reference for building your own CI powered Rust release process on Github Action. This was built to [fill a gap](https://www.reddit.com/r/rust/comments/bjwygr/rust_needs_a_rustreleaser/) that Rust has, and Go doesn't have because Go has [GoReleaser](https://github.com/goreleaser/goreleaser).\n\n\nHeavily inspired from the [helix](https://github.com/helix-editor/helix) editor project CI workflow + some small tweaks.\n\n\n**Development**\nOn each commit, the following is automated:\n\n* CI with caching: check, test, lint\n\n**Release**\nUpon pushing a new tag, the following is automated:\n\n* Build for multi-platform binaries: Linux, Windows, macOS\n* Create GitHub releases\n* Update Homebrew formula\n\n## Quick Start\n\nJust copy `.github/workflows` to your own repo, and set a binary name in your own `Cargo.toml` using a `[[bin]]` block (see the example [Cargo.toml](Cargo.toml)).\n\nNext, check out the point of interest for you to configure / tune below.\n\n## Points of interest\n\n\n* [Cargo.toml](Cargo.toml) - set your binary name explicitly and take note of it\n* [build.yml](.github/workflows/build.yml) - you can use as-is, no parameters to configure\n* [release.yml](.github/workflows/release.yml) \n    - Project: at the top of the file, set your own parameters under `env`\n    - Project: your binary name should be the same as in your `Cargo.toml`\n    - Targets: configure platforms as you wish\n    - Homebrew: remove the Homebrew pragma if not needed\n    - Homebrew: macOS with ARM chips: customize your formula\n\n# Thanks\n\nTo all [Contributors](https://github.com/spectralops/rust-ci-release-template/graphs/contributors) - you make this happen, thanks!\n\n\n# Copyright\n\nCopyright (c) 2021 [@jondot](http://twitter.com/jondot). See [LICENSE](LICENSE.txt) for further details.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspectralops%2Frust-ci-release-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspectralops%2Frust-ci-release-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspectralops%2Frust-ci-release-template/lists"}