{"id":15502457,"url":"https://github.com/matsubara0507/rules_steep","last_synced_at":"2026-05-03T19:32:01.222Z","repository":{"id":93509236,"uuid":"465264910","full_name":"matsubara0507/rules_steep","owner":"matsubara0507","description":"Bazel rules for Ruby Steep","archived":false,"fork":false,"pushed_at":"2022-03-14T04:36:18.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-28T18:21:28.417Z","etag":null,"topics":["bazel","bazel-rules","ruby","steep"],"latest_commit_sha":null,"homepage":"","language":"Starlark","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/matsubara0507.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":"2022-03-02T10:49:17.000Z","updated_at":"2022-03-08T06:44:32.000Z","dependencies_parsed_at":"2023-04-16T04:20:18.918Z","dependency_job_id":null,"html_url":"https://github.com/matsubara0507/rules_steep","commit_stats":{"total_commits":12,"total_committers":1,"mean_commits":12.0,"dds":0.0,"last_synced_commit":"106286a0a017282819ee939ca6058e7accf4400e"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/matsubara0507/rules_steep","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matsubara0507%2Frules_steep","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matsubara0507%2Frules_steep/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matsubara0507%2Frules_steep/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matsubara0507%2Frules_steep/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/matsubara0507","download_url":"https://codeload.github.com/matsubara0507/rules_steep/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matsubara0507%2Frules_steep/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32582543,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T06:36:36.687Z","status":"ssl_error","status_checked_at":"2026-05-03T06:36:09.306Z","response_time":103,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["bazel","bazel-rules","ruby","steep"],"created_at":"2024-10-02T09:09:55.206Z","updated_at":"2026-05-03T19:32:01.199Z","avatar_url":"https://github.com/matsubara0507.png","language":"Starlark","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rules_steep\n\nThis repository is bazel rules to type-check Ruby using [Steep](https://github.com/soutaro/steep).\n\n## Usage\n\nWORKSPACE file\n\n```py\n# Setup Ruby\nload(\"@bazel_tools//tools/build_defs/repo:http.bzl\", \"http_archive\")\n\nhttp_archive(\n    name = \"bazelruby_rules_ruby\",\n    # for https://github.com/bazelruby/rules_ruby/pull/124\n    url = \"https://github.com/bazelruby/rules_ruby/archive/d61b643a1dc7c2de538a8ca761bd24a42228789e.tar.gz\",\n    strip_prefix = \"rules_ruby-d61b643a1dc7c2de538a8ca761bd24a42228789e\",\n)\n\nload(\"@bazelruby_rules_ruby//ruby:deps.bzl\", \"rules_ruby_dependencies\", \"rules_ruby_select_sdk\")\n\nrules_ruby_dependencies()\nrules_ruby_select_sdk(version = \"3.1.1\")\n\nload(\"@bazelruby_rules_ruby//ruby:defs.bzl\", \"ruby_bundle\")\n\nruby_bundle(\n    name = \"bundle_hoge\",\n    gemfile = \"//hoge:Gemfile\",\n    gemfile_lock = \"//hoge:Gemfile.lock\",\n)\n\n# Setup Steep\nload(\"@bazel_tools//tools/build_defs/repo:git.bzl\", \"git_repository\")\n\ngit_repository(\n    name = \"rules_steep\",\n    remote = \"https://github.com/matsubara0507/rules_ruby.git\",\n    branch = \"main\"\n)\n```\n\nBUILD file\n\n```py\nload(\"@bazelruby_rules_ruby//ruby:defs.bzl\", \"ruby_library\")\nload(\"//steep:def.bzl\", \"steep_check\")\n\nruby_library(\n    name = \"lib\",\n    srcs = glob([\"lib/**/*.rb\"]),\n    deps = [],\n)\n\nsteep_check(\n    name = \"typecheck\",\n    bin = \"@bundle_hoge//:bin/steep\",\n    dir = \"./example\",\n    srcs = [\"Steepfile\", \":lib\"] + glob([\"sig/**/*.rbs\"]),\n    deps = [\":lib\", \"@bundle_hoge//:bin\"],\n)\n```\n\n### Steep\n\nIf use Steep `\u003e= v0.42`, need use [my fork](https://github.com/matsubara0507/steep/tree/use-absolute_path-in-print_result):\n\n```rb\ngem \"steep\", github: \"matsubara0507/steep\", ref: \"1f0a384202d52cbe7187b4a2d4eed620d3997178\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatsubara0507%2Frules_steep","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmatsubara0507%2Frules_steep","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatsubara0507%2Frules_steep/lists"}