Skip to content

chore(ci): run CI tasks with rake instead of toys - #114

Draft
torreypayne wants to merge 2 commits into
mainfrom
chore/rake-ci
Draft

torreypayne wants to merge 2 commits into
mainfrom
chore/rake-ci

Conversation

@torreypayne

Copy link
Copy Markdown
Member

Stacked on #113. Part of the move off toys (b/563024235).

  • Adds a Rakefile with the same tasks as the toys tools: test, rubocop, yardoc (fails on warnings), yard, build, install, clean, linkinator and ci. Adds rake to the Gemfile.
  • CI runs bundle exec rake "$task". Check names do not change.
  • Deletes the non-release .toys files. .toys/release.rb stays: the shared release job still runs toys release perform, which falls back to rake build and rake yard.

Compared with toys 0.22.0 on Ruby 4.0: same test counts, identical gem and docs. Also passes on Ruby 3.2 and 3.3.

toys 0.24.0 removed the alias_tool directive used in .toys/.toys.rb, so
every toys task fails at load. Pin CI to ~> 0.22.0 and switch to
`tool "yard", delegate_to: "yardoc"`, which loads on 0.22 and 0.24.
@torreypayne
torreypayne changed the base branch from chore/pin-toys to main October 12, 2026 20:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant