{"id":20925453,"url":"https://github.com/bruin-data/setup-bruin","last_synced_at":"2025-07-23T15:40:11.664Z","repository":{"id":260625936,"uuid":"881871449","full_name":"bruin-data/setup-bruin","owner":"bruin-data","description":"Official action to install Bruin CLI in Github Actions.","archived":false,"fork":false,"pushed_at":"2025-02-04T15:36:04.000Z","size":717,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-05-13T17:37:36.680Z","etag":null,"topics":["actions","cli","data-engineering","data-management","golang"],"latest_commit_sha":null,"homepage":"https://github.com/bruin-data/bruin","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bruin-data.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null}},"created_at":"2024-11-01T12:16:58.000Z","updated_at":"2025-02-04T15:36:08.000Z","dependencies_parsed_at":"2025-05-14T22:00:33.904Z","dependency_job_id":null,"html_url":"https://github.com/bruin-data/setup-bruin","commit_stats":null,"previous_names":["y-bruin/bruin-setup-action","bruin-data/bruin-setup-action","bruin-data/setup-bruin"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/bruin-data/setup-bruin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bruin-data%2Fsetup-bruin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bruin-data%2Fsetup-bruin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bruin-data%2Fsetup-bruin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bruin-data%2Fsetup-bruin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bruin-data","download_url":"https://codeload.github.com/bruin-data/setup-bruin/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bruin-data%2Fsetup-bruin/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266706638,"owners_count":23971904,"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","status":"online","status_checked_at":"2025-07-23T02:00:09.312Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["actions","cli","data-engineering","data-management","golang"],"created_at":"2024-11-18T20:32:17.641Z","updated_at":"2025-07-23T15:40:11.646Z","avatar_url":"https://github.com/bruin-data.png","language":"TypeScript","funding_links":[],"categories":["\u003ca name=\"TypeScript\"\u003e\u003c/a\u003eTypeScript"],"sub_categories":[],"readme":"# `setup-bruin`\nThis [Action](https://github.com/marketplace/actions/bruin-setup) installs the [`bruin`](https://github.com/bruin-data/bruin) CLI in your GitHub Actions pipelines so that it can be used by other Bruin Actions:\n\n\nAfter `setup-bruin` is run, the `bruin` command is available to other Actions in the pipeline's `PATH`. You can also use the `bruin` command directly inside of workflow steps.\n\n## Usage\n\nHere's an example usage of `setup-bruin`:\n\n```yaml\nsteps:\n  # Run `git checkout`\n  - uses: actions/checkout@v2\n  # Install the `bruin` CLI\n  - uses: bruin-data/setup-bruin@main\n  # Ensure that `bruin` is installed\n  - run: bruin --version\n```\n\n## Configuration\n\n### Input\n\nYou can configure `setup-bruin` with these parameters:\n\n| Parameter      | Description                                        | Default            |\n|:---------------|:---------------------------------------------------|:-------------------|\n| `version`      | The version of the [`bruin`](https://github.com/bruin-data/bruin)  to install | [`latest`](https://github.com/bruin-data/bruin/releases) |\n\n\u003e These parameters are derived from [`action.yml`](./action.yml). \u003cbr\u003e\n#### Version\n\nIf `version` is unspecified, the latest version of `bruin` is installed:\n\n```yaml\nsteps:\n  - uses: actions/checkout@v2\n  # Installs latest\n  - uses: bruin-data/setup-bruin@main\n  - run: bruin --version\n```\n\nUse the `version` parameter to pin to a specific version:\n\n```yaml\nsteps:\n  - uses: actions/checkout@v2\n  # Installs version 0.11.52\n  - uses: bruin-data/setup-bruin@main\n    with:\n      version: 0.11.52\n  # Should output 0.11.52\n  - run: bruin --version\n```\n\nTo resolve the latest release from GitHub, you can specify `latest`, but this is **not**\nrecommended:\n\n```yaml\nsteps:\n  - uses: actions/checkout@v2\n  - uses: bruin-data/setup-bruin@main\n    with:\n      version: latest\n  - run: bruin --version\n```\n\nExample \n```yaml\njobs:\n  linux:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v2\n    # Installs latest\n    - uses: bruin-data/setup-bruin@main\n    - run: bruin validate ./bruin-pipeline/\n      name: Validate Pipeline\n    - run: bruin format ./bruin-pipeline/\n      name: Format Pipeline\n    - name: Lineage\n      run: |\n        bruin lineage bruin-pipeline/assets/example.sql\n        bruin lineage bruin-pipeline/assets/pythonsample/country_list.py\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbruin-data%2Fsetup-bruin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbruin-data%2Fsetup-bruin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbruin-data%2Fsetup-bruin/lists"}