Skip to content

Commit cd017a1

Browse files
authored
tests: Bump ruby to ~3.1 (#569)
* tests: Bump ruby to 3.1.x Bumps ruby to ~3.1 now that the latest cf-d-c-t image includes that version rather than ~2.7. Also unpins bosh-template since the ruby version compatibility was the reason it was pinned. * ci: Bump ruby to 3.1
1 parent 2c67d50 commit cd017a1

File tree

3 files changed

+11
-5
lines changed

3 files changed

+11
-5
lines changed

.github/workflows/scripts.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- uses: actions/checkout@v4
2727
- uses: ruby/setup-ruby@v1
2828
with:
29-
ruby-version: '2.7'
29+
ruby-version: '3.1'
3030
bundler-cache: true
3131
- run: ./scripts/subtests/spec-test
3232

Gemfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
source 'https://rubygems.org'
22

3-
ruby '~> 2.7'
3+
ruby '~> 3.1'
44

55
group :development, :test do
6-
gem 'bosh-template', '2.2.1'
6+
gem 'bosh-template'
77
gem 'rspec'
88
gem 'rspec-its'
99
end

Gemfile.lock

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
GEM
22
remote: https://rubygems.org/
33
specs:
4-
bosh-template (2.2.1)
4+
bosh-template (2.4.0)
55
semi_semantic (~> 1.2.0)
66
diff-lcs (1.5.1)
77
rspec (3.13.0)
@@ -26,6 +26,12 @@ PLATFORMS
2626
ruby
2727

2828
DEPENDENCIES
29-
bosh-template (= 2.2.1)
29+
bosh-template
3030
rspec
3131
rspec-its
32+
33+
RUBY VERSION
34+
ruby 3.1.6p260
35+
36+
BUNDLED WITH
37+
2.5.23

0 commit comments

Comments
 (0)