diff --git a/.github/workflows/unit.yml b/.github/workflows/unit.yml index 698cbe9b..ba865f76 100644 --- a/.github/workflows/unit.yml +++ b/.github/workflows/unit.yml @@ -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 diff --git a/cookstyle.gemspec b/cookstyle.gemspec index 50b78217..c53a1f9d 100644 --- a/cookstyle.gemspec +++ b/cookstyle.gemspec @@ -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}/**/*')