Skip to content

Commit

Permalink
Github workflow fixes and updated the required ruby version to 2.7
Browse files Browse the repository at this point in the history
Signed-off-by: Ashique P S <Ashique.saidalavi@progress.com>
  • Loading branch information
ashiqueps committed Mar 20, 2023
1 parent 2e55558 commit b5c56cd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ jobs:
fail-fast: false
matrix:
os: [windows-2019, ubuntu-latest]
ruby: ['2.5', '2.6', '2.7', '3.0', '3.1']
ruby: ['2.7', '3.0', '3.1']
runs-on: ${{ matrix.os }}
env:
BUNDLE_WITHOUT: profiling,debug,docs
BUNDLE_WITHOUT: profiling debug docs
name: Unit test on ${{ matrix.os }} with Ruby ${{ matrix.ruby }}
steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion cookstyle.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
spec.summary = 'Cookstyle is a code linting tool that helps you to write better Chef Infra cookbooks by detecting and automatically correcting style, syntax, and logic mistakes in your code.'
spec.license = 'Apache-2.0'
spec.homepage = 'https://docs.chef.io/workstation/cookstyle/'
spec.required_ruby_version = '>= 2.5'
spec.required_ruby_version = '>= 2.7'

# the gemspec and Gemfile are necessary for appbundling of the gem
spec.files = %w(LICENSE cookstyle.gemspec Gemfile) + Dir.glob('{lib,bin,config}/**/*')
Expand Down

0 comments on commit b5c56cd

Please sign in to comment.