{"id":13484869,"url":"https://github.com/hecrj/setup-rust-action","last_synced_at":"2025-04-09T20:13:59.740Z","repository":{"id":35479281,"uuid":"202624761","full_name":"hecrj/setup-rust-action","owner":"hecrj","description":"Set up a specific Rust toolchain in your GitHub workflows","archived":false,"fork":false,"pushed_at":"2024-03-12T00:16:16.000Z","size":865,"stargazers_count":105,"open_issues_count":4,"forks_count":8,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-09T20:13:52.981Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","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/hecrj.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"ko_fi":"hecrj_"}},"created_at":"2019-08-15T23:28:01.000Z","updated_at":"2025-03-23T22:27:03.000Z","dependencies_parsed_at":"2024-01-13T19:19:29.538Z","dependency_job_id":"ead8523a-9041-4f4d-9efe-6e4996170f6d","html_url":"https://github.com/hecrj/setup-rust-action","commit_stats":{"total_commits":54,"total_committers":6,"mean_commits":9.0,"dds":"0.33333333333333337","last_synced_commit":"50a120e4d34903c2c1383dec0e9b1d349a9cc2b1"},"previous_names":[],"tags_count":17,"template":false,"template_full_name":"actions/typescript-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hecrj%2Fsetup-rust-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hecrj%2Fsetup-rust-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hecrj%2Fsetup-rust-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hecrj%2Fsetup-rust-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hecrj","download_url":"https://codeload.github.com/hecrj/setup-rust-action/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248103872,"owners_count":21048245,"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":[],"created_at":"2024-07-31T17:01:37.042Z","updated_at":"2025-04-09T20:13:59.712Z","avatar_url":"https://github.com/hecrj.png","language":"Shell","funding_links":["https://ko-fi.com/hecrj_"],"categories":["Shell"],"sub_categories":[],"readme":"# setup-rust-action\n\n[![Integration status](https://github.com/hecrj/setup-rust-action/workflows/Integration/badge.svg)](https://github.com/hecrj/setup-rust-action/actions)\n\nSets up a specific Rust toolchain for use in your GitHub Actions workflows.\n\n# Usage\n\nProvide a `rust-version` with the desired toolchain version to install.\n\nYou can combine it with `matrix` to test different Rust toolchains in different platforms!\n\n```yml\nname: Test Rust project\non: [push]\njobs:\n  test:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest, windows-latest, macOS-latest]\n        rust: [stable, nightly]\n\n    steps:\n    - uses: hecrj/setup-rust-action@v2\n      with:\n        rust-version: ${{ matrix.rust }}\n    - uses: actions/checkout@master\n    - name: Run tests\n      run: cargo test --verbose\n```\n\n## Inputs\n\nThe following inputs can be provided with the `jobs.\u003cjob_id\u003e.steps.with` yaml key.\n\n| Name         | Optional                  | Description                                            | Type                    | Default |\n|--------------|:-------------------------:|--------------------------------------------------------|-------------------------|---------|\n| rust-version | :heavy_check_mark:        | The toolchain name, such as stable, nightly, or 1.8.0  | String                  | stable  |\n| components   | :heavy_check_mark:        | The toolchain components to install                    | String, comma-separated |         |\n| targets      | :heavy_check_mark:        | The toolchain targets to add                           | String, comma-separated |         |\n\nFor more details, check out [`action.yml`].\n\n[`action.yml`]: https://github.com/hecrj/setup-rust-action/blob/master/action.yml\n\n\n## Problem Matchers\n\nThis action registers the following [problem matchers](https://github.com/actions/toolkit/blob/master/docs/problem-matchers.md) to surface relevant information inline with changeset diffs.\n\n* `cargo-common` matches common cases of errors and warnings\n* `cargo-test` matches cargo test errors\n* `cargo-fmt` matches rust format errors\n\nTo disable any or all of these you can use the `remove-matcher` directive documented [here](https://github.com/actions/toolkit/blob/master/docs/commands.md#problem-matchers).\n\n# Contributing / Feedback\n\nContributions and feedback are welcome! Feel free to open any issues or pull requests.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhecrj%2Fsetup-rust-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhecrj%2Fsetup-rust-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhecrj%2Fsetup-rust-action/lists"}