Skip to content

Commit 8badf42

Browse files
authored
run specs on ruby 3.1 (#105)
1 parent 336873e commit 8badf42

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ on:
44
pull_request:
55
push:
66
branches:
7-
- master
7+
- main
88

99
jobs:
1010
test:
1111
runs-on: ubuntu-latest
1212
strategy:
1313
matrix:
14-
ruby: [ '2.5', '2.6', '2.7', '3.0']
14+
ruby: [ '2.6', '2.7', '3.0', '3.1' ]
1515
name: Lint & Test with Ruby ${{ matrix.ruby }}
1616
steps:
1717
- uses: actions/checkout@v2

kitchen-hyperv.gemspec

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ Gem::Specification.new do |spec|
1616
spec.files = %w{LICENSE kitchen-hyperv.gemspec Gemfile Rakefile support/hyperv.ps1} + Dir.glob("lib/**/*")
1717
spec.require_paths = ["lib"]
1818

19+
spec.required_ruby_version = ">= 2.6"
20+
1921
spec.add_development_dependency "rake"
2022
spec.add_development_dependency "minitest", "~> 5.3", "< 5.16"
2123
spec.add_development_dependency "minitest-stub-const"

0 commit comments

Comments
 (0)