Skip to content

Commit

Permalink
Support for ruby 3.1 and CI run on main branch
Browse files Browse the repository at this point in the history
Signed-off-by: sachin007jain <[email protected]>
  • Loading branch information
sachin007jain committed Apr 13, 2022
1 parent 86a0ac4 commit bd8d42d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ on:
pull_request:
push:
branches:
- master
- main

jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
ruby: [ '2.4', '2.5', '2.6', '2.7', '3.0']
ruby: [ '2.6', '2.7', '3.0', '3.1' ]
name: Validate JSON on Ruby ${{ matrix.ruby }}
steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion fauxhai-ng.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Gem::Specification.new do |spec|
spec.homepage = "https://github.com/chefspec/fauxhai"
spec.license = "MIT"

spec.required_ruby_version = ">= 2.3"
spec.required_ruby_version = ">= 2.6"

spec.files = %w{LICENSE Gemfile fauxhai-ng.gemspec} + Dir.glob("{lib,bin}/**/*", File::FNM_DOTMATCH).reject { |f| File.directory?(f) }
spec.executables = "fauxhai"
Expand Down

0 comments on commit bd8d42d

Please sign in to comment.