From da1a894067c1603a8db5c081d26ac75abee258f9 Mon Sep 17 00:00:00 2001 From: Torrey Payne <11740989+torreypayne@users.noreply.github.com> Date: Thu, 1 Oct 2026 23:09:56 +0000 Subject: [PATCH] chore(ci): pin toys to ~> 0.22.0 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. --- .github/workflows/ci.yml | 2 +- .toys/.toys.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 203dbe6..c7aa6bf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -55,7 +55,7 @@ jobs: node-version: "24.x" - name: Install tools shell: bash - run: "gem install --no-document toys" + run: "gem install --no-document toys -v '~> 0.22.0'" - name: Test ${{ matrix.task }} shell: bash run: | diff --git a/.toys/.toys.rb b/.toys/.toys.rb index 799301a..11c197f 100644 --- a/.toys/.toys.rb +++ b/.toys/.toys.rb @@ -30,7 +30,7 @@ t.fail_on_warning = true t.use_bundler end -alias_tool :yard, :yardoc +tool "yard", delegate_to: "yardoc" expand :gem_build