Skip to content

Commit

Permalink
Merge pull request #177 from chef/nikhil/CHEF-12435-update-ruby-3.3
Browse files Browse the repository at this point in the history
Updated the ruby version for unit test cases and chef style
  • Loading branch information
nikhil2611 authored Jun 27, 2024
2 parents 5167239 + 891fe8e commit 9aa3ffb
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions .expeditor/verify.pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,26 +10,26 @@ expeditor:
timeout_in_minutes: 30

steps:
- label: run-lint-and-specs-ruby-2.7
- label: run-lint-and-specs-ruby-3.1
command:
- .expeditor/run_linux_tests.sh rake
expeditor:
executor:
docker:
image: ruby:2.7-buster
image: ruby:3.1-buster

- label: run-lint-and-specs-ruby-3.0
- label: run-lint-and-specs-ruby-3.2
command:
- .expeditor/run_linux_tests.sh rake
expeditor:
executor:
docker:
image: ruby:3.0-buster
image: ruby:3.2-buster

- label: run-lint-and-specs-ruby-3.1
- label: run-lint-and-specs-ruby-3.3
command:
- .expeditor/run_linux_tests.sh rake
expeditor:
executor:
docker:
image: ruby:3.1-buster
image: ruby:3.3
2 changes: 1 addition & 1 deletion .github/workflows/linters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
ruby: ['2.7', '3.0', '3.1']
ruby: ['3.1', '3.2', '3.3']
name: Chefstyle on Ruby ${{ matrix.ruby }}
steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion kitchen-vcenter.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Gem::Specification.new do |spec|
spec.files = Dir["LICENSE", "lib/**/*"]
spec.require_paths = ["lib"]

spec.required_ruby_version = ">= 2.7"
spec.required_ruby_version = ">= 3.1"

spec.add_dependency "net-ping", ">= 2.0.0", "< 3.0"
spec.add_dependency "rbvmomi2", ">= 3.5.0", "< 4.0"
Expand Down

0 comments on commit 9aa3ffb

Please sign in to comment.