{"id":28518078,"url":"https://github.com/sourcegraph/lsif-rust-action","last_synced_at":"2025-07-19T20:35:49.048Z","repository":{"id":37198377,"uuid":"424981920","full_name":"sourcegraph/lsif-rust-action","owner":"sourcegraph","description":"A GitHub Action to upload LSIF data to Sourcegraph for precise code intelligence","archived":false,"fork":false,"pushed_at":"2024-08-20T10:31:03.000Z","size":21,"stargazers_count":6,"open_issues_count":2,"forks_count":2,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-07-17T21:23:35.761Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/sourcegraph.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-05T14:44:53.000Z","updated_at":"2025-04-04T04:40:33.000Z","dependencies_parsed_at":"2023-12-13T14:33:35.399Z","dependency_job_id":"acdb50f8-d0ba-4770-bcc9-ad4190c45ac8","html_url":"https://github.com/sourcegraph/lsif-rust-action","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/sourcegraph/lsif-rust-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sourcegraph%2Flsif-rust-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sourcegraph%2Flsif-rust-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sourcegraph%2Flsif-rust-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sourcegraph%2Flsif-rust-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sourcegraph","download_url":"https://codeload.github.com/sourcegraph/lsif-rust-action/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sourcegraph%2Flsif-rust-action/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265942574,"owners_count":23853294,"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":"2025-06-09T05:35:33.714Z","updated_at":"2025-07-19T20:35:49.040Z","avatar_url":"https://github.com/sourcegraph.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sourcegraph Rust LSIF Indexer GitHub Action\n\nThis action generates LSIF data from Rust source code using [rust-analyzer](https://github.com/rust-analyzer/rust-analyzer). The LSIF data can be further uploaded to Sourcegraph using [lsif-upload-action](https://github.com/sourcegraph/lsif-upload-action).\n\n## Pre-requisites\n\n- GitHub-provided Runners should work out-of-the-box.\n- Self-hosted runners need to have Python 3.5+ and `curl` installed, and the runner's target needs to be one for which [`rust-analyzer` release binaries](https://github.com/rust-analyzer/rust-analyzer/releases) are available.\n\n## Usage\n\nThe following inputs can be set.\n\n| name         | default   | description |\n| ------------ | --------- | ----------- |\n| `project_root` | `.`       | The root of the repository. |\n\nThe following is a complete example that generates the LSIF index and uploads it to [sourcegraph.com](https://sourcegraph.com). Save it in `.github/workflows/lsif.yaml`.\n\n```\nname: LSIF\non:\n  - push\njobs:\n  index:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - name: Generate LSIF data\n        uses: sourcegraph/lsif-rust-action@main\n      - name: Upload LSIF data\n        uses: sourcegraph/lsif-upload-action@master\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n```\n\n## Contributing\n\nIf you run into issues using this GitHub Action,\nplease [file an issue](https://github.com/sourcegraph/lsif-rust-action/issues),\nincluding relevant CI logs.\n\nContributors should abide by the [Sourcegraph Code of Conduct](https://handbook.sourcegraph.com/community/code_of_conduct).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsourcegraph%2Flsif-rust-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsourcegraph%2Flsif-rust-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsourcegraph%2Flsif-rust-action/lists"}