{"id":18443204,"url":"https://github.com/mkroening/rust-toolchain-toml","last_synced_at":"2025-04-07T23:31:48.241Z","repository":{"id":176361258,"uuid":"656621634","full_name":"mkroening/rust-toolchain-toml","owner":"mkroening","description":"GitHub Action for installing Installs a Rust toolchain from a toolchain file (rust-toolchain.toml)","archived":false,"fork":false,"pushed_at":"2024-07-05T14:15:03.000Z","size":27,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-16T12:33:20.879Z","etag":null,"topics":["github-actions","rust","rust-toolchain","rustup"],"latest_commit_sha":null,"homepage":"","language":null,"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/mkroening.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":"2023-06-21T09:59:11.000Z","updated_at":"2024-07-04T05:06:44.000Z","dependencies_parsed_at":"2024-06-06T15:03:52.184Z","dependency_job_id":"72cfcd30-844e-4f4a-9e80-a28f157b1198","html_url":"https://github.com/mkroening/rust-toolchain-toml","commit_stats":null,"previous_names":["mkroening/rust-toolchain-toml"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkroening%2Frust-toolchain-toml","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkroening%2Frust-toolchain-toml/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkroening%2Frust-toolchain-toml/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkroening%2Frust-toolchain-toml/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mkroening","download_url":"https://codeload.github.com/mkroening/rust-toolchain-toml/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223297256,"owners_count":17121974,"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","rust","rust-toolchain","rustup"],"created_at":"2024-11-06T06:46:38.564Z","updated_at":"2024-11-06T06:46:39.099Z","avatar_url":"https://github.com/mkroening.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Install rust-toolchain.toml\n\nThis GitHub action installs the Rust toolchain specified in the specified [toolchain file (`rust-toolchain.toml`)](https://rust-lang.github.io/rustup/overrides.html#the-toolchain-file) using [`dtolnay/rust-toolchain`](https://github.com/dtolnay/rust-toolchain) and [yq](https://github.com/mikefarah/yq).\n\n## Usage\n\n```yaml\n- uses: mkroening/rust-toolchain-toml@main\n  with:\n    # Path to the toolchain file.\n    # Default: rust-toolchain.toml\n    toolchain-file: ''\n```\n\n## Example workflow\n\n```yaml\nname: test suite\non: [push, pull_request]\n\njobs:\n  test:\n    name: cargo test\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - uses: mkroening/rust-toolchain-toml@main\n      - run: cargo test --all-features\n```\n\n## Inputs\n\nAll inputs are optional.\n\n\u003ctable\u003e\n\u003ctr\u003e\n  \u003cth\u003eName\u003c/th\u003e\n  \u003cth\u003eDescription\u003c/th\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n  \u003ctd\u003e\u003ccode\u003etoolchain-file\u003c/code\u003e\u003c/td\u003e\n  \u003ctd\u003e\n    Path to a \u003ccode\u003erust-toolchain.toml\u003c/code\u003e.\n  \u003c/td\u003e\n\u003c/tr\u003e\n\u003c/table\u003e\n\n## Outputs\n\n\u003ctable\u003e\n\u003ctr\u003e\n  \u003cth\u003eName\u003c/th\u003e\n  \u003cth\u003eDescription\u003c/th\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n  \u003ctd\u003e\u003ccode\u003ecachekey\u003c/code\u003e\u003c/td\u003e\n  \u003ctd\u003eA short hash of the installed rustc version, appropriate for use as a cache key. \u003ccode\u003e\"20220627a831\"\u003c/code\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n  \u003ctd\u003e\u003ccode\u003ename\u003c/code\u003e\u003c/td\u003e\n  \u003ctd\u003eRustup's name for the selected version of the toolchain, like \u003ccode\u003e\"1.62.0\"\u003c/code\u003e. Suitable for use with \u003ccode\u003ecargo +${{steps.toolchain.outputs.name}}\u003c/code\u003e.\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/table\u003e\n\n## License\n\nThe scripts and documentation in this project are released under the [MIT\nLicense](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmkroening%2Frust-toolchain-toml","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmkroening%2Frust-toolchain-toml","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmkroening%2Frust-toolchain-toml/lists"}