{"id":21660110,"url":"https://github.com/bazelbuild/setup-bazelisk","last_synced_at":"2025-07-17T23:30:48.883Z","repository":{"id":36974480,"uuid":"336287450","full_name":"bazelbuild/setup-bazelisk","owner":"bazelbuild","description":"Set up your GitHub Actions workflow with a specific version of Bazelisk","archived":true,"fork":false,"pushed_at":"2024-03-11T11:17:14.000Z","size":1902,"stargazers_count":56,"open_issues_count":0,"forks_count":10,"subscribers_count":5,"default_branch":"main","last_synced_at":"2024-11-14T04:04:42.171Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/bazelbuild.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-02-05T14:00:04.000Z","updated_at":"2024-06-10T04:34:30.000Z","dependencies_parsed_at":"2023-10-02T05:56:26.168Z","dependency_job_id":"fa913515-b8a7-4a96-9e8f-a5458cf94ddf","html_url":"https://github.com/bazelbuild/setup-bazelisk","commit_stats":{"total_commits":94,"total_committers":7,"mean_commits":"13.428571428571429","dds":"0.32978723404255317","last_synced_commit":"d36d0d138c31689590b18a7884cef206fe28ae22"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bazelbuild%2Fsetup-bazelisk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bazelbuild%2Fsetup-bazelisk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bazelbuild%2Fsetup-bazelisk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bazelbuild%2Fsetup-bazelisk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bazelbuild","download_url":"https://codeload.github.com/bazelbuild/setup-bazelisk/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226213729,"owners_count":17591155,"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-11-25T09:32:13.271Z","updated_at":"2024-11-25T09:34:14.132Z","avatar_url":"https://github.com/bazelbuild.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"\u003e [!IMPORTANT]\n\u003e setup-bazelisk has been superseded by\n\u003e [setup-bazel](https://github.com/bazel-contrib/setup-bazel) and all\n\u003e maintenance and support has ceased. setup-bazelisk will remain on GitHub\n\u003e indefinitely, but will almost certainly stop working someday, so if your\n\u003e GitHub Actions workflows use setup-bazelisk, please migrate them to\n\u003e setup-bazel.\n\n# setup-bazelisk v3\nSet up your GitHub Actions workflow with a specific version of Bazelisk\n\nNote that GitHub Actions includes Bazelisk by default as of \u003chttps://github.com/actions/virtual-environments/pull/490\u003e so this setup is not necessary unless you want to customize the Bazelisk version, or are running Bazel inside a container.\n\n![Validate 'setup-bazelisk'](https://github.com/bazelbuild/setup-bazelisk/workflows/Validate%20'setup-bazelisk'/badge.svg)\n\nThis action sets up Bazelisk for use in actions by:\n\n- optionally downloading and caching a version of Bazelisk by version and adding to PATH\n- setting up cache for downloaded Bazel versions\n\n# What's new\n\n- Updated to the node20 runtime by default\n  - This requires a minimum [Actions Runner](https://github.com/actions/runner/releases/tag/v2.308.0) version of v2.308.0 to run.\n\n# Usage\n\nSee [action.yml](action.yml)\n\nBasic:\n```yaml\nsteps:\n- uses: actions/checkout@v4\n- uses: bazelbuild/setup-bazelisk@v3\n- name: Mount bazel cache  # Optional\n  uses: actions/cache@v4\n  with:\n    path: \"~/.cache/bazel\"\n    key: bazel\n- run: bazel build //...\n```\n\n# Known issues on Windows\n* This action doesn't work with PowerShell. Make sure to have `shell: bash` in you `run:` steps. ([#3](https://github.com/bazelbuild/setup-bazelisk/issues/3))\n* Windows removes one of the slashes (`/`) when two are present (`bazel test //tests/...` becomes `bazel test /tests/...` and fails). ([#4](https://github.com/bazelbuild/setup-bazelisk/issues/4))\n  As a workaround, don't have any prefix `//`. Since all runs start at WORKSPACE dir, it should work all the same.\n\nFull workaround example on windows:\n```yaml\n- name: Run tests\n  run: bazel test tests/...\n  shell: bash\n```\n\n# License\n\nThe scripts and documentation in this project are released under the [MIT License](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbazelbuild%2Fsetup-bazelisk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbazelbuild%2Fsetup-bazelisk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbazelbuild%2Fsetup-bazelisk/lists"}