{"id":19248990,"url":"https://github.com/sbt/setup-sbt","last_synced_at":"2026-04-02T12:59:28.251Z","repository":{"id":245600993,"uuid":"818716839","full_name":"sbt/setup-sbt","owner":"sbt","description":"setup-sbt installs the official sbt runner","archived":false,"fork":false,"pushed_at":"2025-03-17T06:35:36.000Z","size":59,"stargazers_count":25,"open_issues_count":1,"forks_count":11,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-04-06T00:07:58.684Z","etag":null,"topics":["github-actions","sbt","scala"],"latest_commit_sha":null,"homepage":"https://eed3si9n.com/setup-sbt/","language":"Scala","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/sbt.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":"2024-06-22T16:46:59.000Z","updated_at":"2025-03-17T06:33:00.000Z","dependencies_parsed_at":"2024-09-10T07:07:03.571Z","dependency_job_id":null,"html_url":"https://github.com/sbt/setup-sbt","commit_stats":null,"previous_names":["eed3si9n/setup-sbt"],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbt%2Fsetup-sbt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbt%2Fsetup-sbt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbt%2Fsetup-sbt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbt%2Fsetup-sbt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sbt","download_url":"https://codeload.github.com/sbt/setup-sbt/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248372141,"owners_count":21093133,"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","sbt","scala"],"created_at":"2024-11-09T18:11:59.383Z","updated_at":"2026-01-06T05:14:38.738Z","avatar_url":"https://github.com/sbt.png","language":"Scala","readme":"Setup sbt\n=========\n\nThis action enables `sbt` runner from GitHub Actions.\n\nUsage\n-----\n\nHere's an example usage of setup-sbt action.\n\n```yaml\nenv:\n  JAVA_OPTS: -Xms2048M -Xmx2048M -Xss6M -XX:ReservedCodeCacheSize=256M -Dfile.encoding=UTF-8\nsteps:\n- uses: actions/checkout@v6\n- name: Setup JDK\n  uses: actions/setup-java@v5\n  with:\n    distribution: temurin\n    java-version: 17\n    cache: sbt\n- uses: sbt/setup-sbt@v1\n- name: Build and test\n  shell: bash\n  run: sbt -v +test\n```\n\n`uses: sbt/setup-sbt@v1` makes `sbt` available on Linux, macOS, and Windows.\n\n### Setting the runner version\n\nThe `sbt` runner (Bash script that launches sbt) is typically compatible with all modern sbt releases,\nyou might want to pin the runner to a specific version.\n\n```yaml\nenv:\n  JAVA_OPTS: -Xms2048M -Xmx2048M -Xss6M -XX:ReservedCodeCacheSize=256M -Dfile.encoding=UTF-8\nsteps:\n- uses: actions/checkout@v6\n- name: Setup JDK\n  uses: actions/setup-java@v5\n  with:\n    distribution: temurin\n    java-version: 17\n    cache: sbt\n- uses: sbt/setup-sbt@v1\n  with:\n    sbt-runner-version: 1.9.9\n- name: Build and test\n  shell: bash\n  run: sbt -v +test\n```\n\nWhy is this GitHub Action needed?\n---------------------------------\n\nThe runner images on GitHub Action had long included `sbt` runner script. The [initial commit on actions/runner-images](https://github.com/actions/runner-images/pull/96) contains `images/linux/scripts/installers/sbt.sh`\n\n### May 2024\n\nHowever, the situation has changed in May 2024 when GitHub released the runner image for `macos-13` and `macos-14`, users noticed that they were missing the `sbt` runner script.\n\n[actions/runner-images#9369](https://github.com/actions/runner-images/issues/9369) and [actions/runner-images#9837](https://github.com/actions/runner-images/issues/9837) confirmed that this was intentional:\n\n\u003e Thank you for such detail request. But currently we have no plans to add `sbt` on `macOS-13`/`macOS-14`.\n\nSince GitHub Actions are extensible, we thought this providing a setup action would be convenient way to enable `sbt` again on all runner images.\n\n### December 2024\n\nThe situation changed again in December 2024 when GitHub dropped sbt from `ubuntu-latest`. So now this same action is needed for Ubuntu-based builds, too.\n\nLicense\n-------\n\nThe scripts and documentation in this project are released under the [MIT License](LICENSE).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsbt%2Fsetup-sbt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsbt%2Fsetup-sbt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsbt%2Fsetup-sbt/lists"}