Skip to content

Commit 2985735

Browse files
committed
Remove unnecessary ruby-version input from ruby/setup-ruby
1 parent b46dba9 commit 2985735

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

railties/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
* Remove unnecessary `ruby-version` input from `ruby/setup-ruby`
2+
3+
*TangRufus*
4+
15
* Add --reset option to bin/setup which will call db:reset as part of the setup.
26

37
*DHH*

railties/lib/rails/generators/rails/app/templates/github/ci.yml.tt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ jobs:
1717
- name: Set up Ruby
1818
uses: ruby/setup-ruby@v1
1919
with:
20-
ruby-version: .ruby-version
2120
bundler-cache: true
2221

2322
- name: Scan for common Rails security vulnerabilities using static analysis
@@ -38,7 +37,6 @@ jobs:
3837
- name: Set up Ruby
3938
uses: ruby/setup-ruby@v1
4039
with:
41-
ruby-version: .ruby-version
4240
bundler-cache: true
4341

4442
- name: Scan for security vulnerabilities in JavaScript dependencies
@@ -57,7 +55,6 @@ jobs:
5755
- name: Set up Ruby
5856
uses: ruby/setup-ruby@v1
5957
with:
60-
ruby-version: .ruby-version
6158
bundler-cache: true
6259

6360
- name: Prepare RuboCop cache
@@ -125,7 +122,6 @@ jobs:
125122
- name: Set up Ruby
126123
uses: ruby/setup-ruby@v1
127124
with:
128-
ruby-version: .ruby-version
129125
bundler-cache: true
130126
<%- if using_bun? -%>
131127

@@ -199,7 +195,6 @@ jobs:
199195
- name: Set up Ruby
200196
uses: ruby/setup-ruby@v1
201197
with:
202-
ruby-version: .ruby-version
203198
bundler-cache: true
204199
<%- if using_bun? -%>
205200

0 commit comments

Comments
 (0)