Skip to content

Commit e3a4f94

Browse files
committed
Automatically use the latest Ruby for CI
1 parent 4fef7a9 commit e3a4f94

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

.github/workflows/generate_comment_body_on_review.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
ref: main
3030
- uses: ruby/setup-ruby@v1
3131
with:
32-
ruby-version: '3.3'
32+
ruby-version: ruby
3333
bundler-cache: false
3434
- name: Changed gems and non gem files
3535
id: changes

.github/workflows/merge_on_comment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
ref: main
3636
- uses: ruby/setup-ruby@v1
3737
with:
38-
ruby-version: '3.3'
38+
ruby-version: ruby
3939
bundler-cache: false
4040
- name: Fetch PR information
4141
id: pr_info

.github/workflows/rubocop.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- uses: actions/checkout@v4
1515
- uses: ruby/setup-ruby@v1
1616
with:
17-
ruby-version: '3.3'
17+
ruby-version: ruby
1818
bundler-cache: true
1919
- name: 'Install dependencies'
2020
run: 'bundle install'

.github/workflows/test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- uses: actions/checkout@v4
1818
- uses: ruby/setup-ruby@v1
1919
with:
20-
ruby-version: '3.3'
20+
ruby-version: ruby
2121
bundler-cache: true
2222
- name: 'Install dependencies'
2323
run: 'gem install rbs'
@@ -32,7 +32,7 @@ jobs:
3232
- uses: actions/checkout@v4
3333
- uses: ruby/setup-ruby@v1
3434
with:
35-
ruby-version: '3.3'
35+
ruby-version: ruby
3636
bundler-cache: true
3737
- name: Run bin/setup
3838
run: bin/setup
@@ -64,7 +64,7 @@ jobs:
6464
- uses: actions/checkout@v4
6565
- uses: ruby/setup-ruby@v1
6666
with:
67-
ruby-version: '3.3'
67+
ruby-version: ruby
6868
bundler-cache: true
6969
- name: Run bin/setup
7070
run: bin/setup
@@ -77,7 +77,7 @@ jobs:
7777
- uses: actions/checkout@v4
7878
- uses: ruby/setup-ruby@v1
7979
with:
80-
ruby-version: '3.3'
80+
ruby-version: ruby
8181
bundler-cache: true
8282
- name: Check .rubocop.yml
8383
run: ruby .github/workflows/pr_bot/strict_rubocop_config.rb

.github/workflows/welcome_comment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
ref: main
2828
- uses: ruby/setup-ruby@v1
2929
with:
30-
ruby-version: '3.3'
30+
ruby-version: ruby
3131
bundler-cache: false
3232
- name: Changed gems and non gem files
3333
id: changes

0 commit comments

Comments
 (0)