Skip to content

Commit

Permalink
run specs on ruby 3.1 (#473)
Browse files Browse the repository at this point in the history
  • Loading branch information
kasif-adnan authored Mar 3, 2022
1 parent a975676 commit e33961f
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/linters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,21 @@ name: linters
pull_request:
push:
branches:
- master
- main

jobs:
yamllint:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@master
uses: actions/checkout@main
- name: Run yaml Lint
uses: actionshub/yamllint@main
chefstyle:
runs-on: ubuntu-latest
strategy:
matrix:
ruby: ['2.5', '2.6', '2.7', '3.0']
ruby: ['2.6', '2.7', '3.0', '3.1']
name: Chefstyle on Ruby ${{ matrix.ruby }}
steps:
- uses: actions/checkout@v2
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ name: Unit
pull_request:
push:
branches:
- master
- main

jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
ruby: ['2.5', '2.6', '2.7', '3.0']
ruby: ['2.6', '2.7', '3.0', '3.1']
name: Unit test on Ruby ${{ matrix.ruby }}
steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
---
AllCops:
TargetRubyVersion: 2.5
TargetRubyVersion: 2.6
2 changes: 1 addition & 1 deletion kitchen-vagrant.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Gem::Specification.new do |gem|
gem.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR).grep(/LICENSE|^lib|^support|^templates/)
gem.require_paths = ["lib"]

gem.required_ruby_version = ">= 2.5"
gem.required_ruby_version = ">= 2.6"

gem.add_dependency "test-kitchen", ">= 1.4", "< 4"
end

0 comments on commit e33961f

Please sign in to comment.