Skip to content

Commit d1a2af6

Browse files
feat: update to ruby 3.1
1 parent c1d8102 commit d1a2af6

File tree

3 files changed

+11
-7
lines changed

3 files changed

+11
-7
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ jobs:
1313
strategy:
1414
matrix:
1515
include:
16-
- os: ubuntu-latest
17-
ruby: "3.3"
18-
build: false
19-
jobs: "--only --rubocop"
2016
- os: ubuntu-latest
2117
ruby: "3.1"
2218
build: true
2319
jobs: "--only --test"
20+
- os: ubuntu-latest
21+
ruby: "3.2"
22+
build: true
23+
jobs: "--only --test"
2424
- os: ubuntu-latest
2525
ruby: "3.3"
2626
build: true
@@ -29,6 +29,10 @@ jobs:
2929
ruby: "3.4"
3030
build: true
3131
jobs: "--only --test"
32+
- os: ubuntu-latest
33+
ruby: "3.4"
34+
build: false
35+
jobs: "--only --rubocop"
3236
fail-fast: false
3337
runs-on: ${{ matrix.os }}
3438
steps:

owlbot-postprocessor/Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
source "https://rubygems.org"
1616

17-
gem "google-style", "~> 1.30.1"
17+
gem "google-style", "~> 1.31"
1818
gem "minitest", "~> 5.16"
1919
gem "minitest-focus", "~> 1.3"
2020
gem "minitest-rg", "~> 5.2"

owlbot-postprocessor/lib/owlbot.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -314,10 +314,10 @@ def ruby_content content
314314
# @return [Toys::Utils::Exec::Result] The result, if the process ran in the
315315
# foreground.
316316
#
317-
def toys cmd, **opts, &block
317+
def toys(cmd, **opts, &)
318318
@toys_bin_path ||= `which toys`.strip
319319
cmd = [@toys_bin_path] + cmd
320-
@impl.exec_service.exec cmd, **opts, &block
320+
@impl.exec_service.exec(cmd, **opts, &)
321321
end
322322

323323
##

0 commit comments

Comments
 (0)