Skip to content

Commit 28ec60f

Browse files
Merge pull request #131 from puppetlabs/increase-default-ruby
Increase default ruby to 3.1 from 2.7
2 parents 2513c6c + fe9cbcf commit 28ec60f

7 files changed

+8
-8
lines changed

.github/workflows/gem_acceptance.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
ruby_version:
88
description: "The target Ruby version."
99
required: false
10-
default: "2.7"
10+
default: "3.1"
1111
type: "string"
1212
puppet_version:
1313
description: "The target Puppet version."

.github/workflows/gem_ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
ruby_version:
88
description: "The target Ruby version."
99
required: false
10-
default: "2.7"
10+
default: "3.1"
1111
type: "string"
1212
puppet_gem_version:
1313
description: "Specifies the version of the Puppet gem to be installed"

.github/workflows/gem_release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- name: "Setup ruby"
3131
uses: "ruby/setup-ruby@v1"
3232
with:
33-
ruby-version: "2.7"
33+
ruby-version: "3.1"
3434
bundler-cache: "true"
3535

3636
- name: "Bundle environment"

.github/workflows/mend_ruby.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
if: success()
4949
uses: "ruby/setup-ruby@v1"
5050
with:
51-
ruby-version: 2.7
51+
ruby-version: 3.1
5252

5353
- name: "bundle lock"
5454
if: success()

.github/workflows/module_acceptance.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
- name: "Setup ruby"
4343
uses: "ruby/setup-ruby@v1"
4444
with:
45-
ruby-version: "2.7"
45+
ruby-version: "3.1"
4646
bundler-cache: true
4747

4848
- name: "Bundle environment"
@@ -88,7 +88,7 @@ jobs:
8888
- name: "Setup ruby"
8989
uses: "ruby/setup-ruby@v1"
9090
with:
91-
ruby-version: "2.7"
91+
ruby-version: "3.1"
9292
bundler-cache: true
9393

9494
- name: "Bundle environment"

.github/workflows/module_ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ on:
2222
ruby_version:
2323
description: "Ruby version to use"
2424
required: false
25-
default: '2.7'
25+
default: '3.1'
2626
type: "string"
2727
puppetcore_api_type:
2828
description: "The type of API to use for Puppet Core."

.github/workflows/tooling_mend_ruby.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ on:
1717
ruby_version:
1818
description: "The target Ruby version."
1919
required: false
20-
default: "2.7"
20+
default: "3.1"
2121
type: "string"
2222

2323
env:

0 commit comments

Comments
 (0)