Skip to content

Commit

Permalink
Merge pull request #8851 from luchihoratiu/maint-pin-ruby3-version-gha
Browse files Browse the repository at this point in the history
(maint) Pin Ruby versions in GHA workflow
  • Loading branch information
joshcooper authored Jan 5, 2022
2 parents 8aaf57f + be3776c commit 3b8b7ad
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 17 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ jobs:
strategy:
matrix:
cfg:
- {check: rubocop, os: ubuntu-18.04, ruby: 2.5}
- {check: commits, os: ubuntu-18.04, ruby: 2.5}
- {check: warnings, os: ubuntu-18.04, ruby: 2.5}
- {check: rubocop, os: ubuntu-18.04, ruby: '2.5'}
- {check: commits, os: ubuntu-18.04, ruby: '2.5'}
- {check: warnings, os: ubuntu-18.04, ruby: '2.5'}

runs-on: ${{ matrix.cfg.os }}
steps:
Expand All @@ -29,9 +29,9 @@ jobs:
with:
ruby-version: ${{ matrix.cfg.ruby }}

- name: Install bundler and gems
- name: Update rubygems and install gems
run: |
gem install bundler
gem update --system --silent --no-document
bundle config set without packaging documentation
bundle install --jobs 4 --retry 3
Expand Down
22 changes: 11 additions & 11 deletions .github/workflows/rspec_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ jobs:
strategy:
matrix:
cfg:
- {os: ubuntu-18.04, ruby: 2.5}
- {os: ubuntu-18.04, ruby: 2.6}
- {os: ubuntu-18.04, ruby: 2.7}
- {os: ubuntu-18.04, ruby: 3.0}
- {os: ubuntu-18.04, ruby: jruby-9.2.17.0}
- {os: windows-2019, ruby: 2.5}
- {os: windows-2019, ruby: 2.6}
- {os: windows-2019, ruby: 2.7}
- {os: windows-2019, ruby: 3.0}
- {os: ubuntu-18.04, ruby: '2.5'}
- {os: ubuntu-18.04, ruby: '2.6'}
- {os: ubuntu-18.04, ruby: '2.7'}
- {os: ubuntu-18.04, ruby: '3.0'}
- {os: ubuntu-18.04, ruby: 'jruby-9.2.17.0'}
- {os: windows-2019, ruby: '2.5'}
- {os: windows-2019, ruby: '2.6'}
- {os: windows-2019, ruby: '2.7'}
- {os: windows-2019, ruby: '3.0'}

runs-on: ${{ matrix.cfg.os }}
steps:
Expand All @@ -33,9 +33,9 @@ jobs:
with:
ruby-version: ${{ matrix.cfg.ruby }}

- name: Install bundler and gems
- name: Update rubygems and install gems
run: |
gem install bundler
gem update --system --silent --no-document
bundle config set without packaging documentation
bundle install --jobs 4 --retry 3
Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ group(:features) do
#gem 'ruby-shadow', '~> 2.5', require: false, platforms: [:ruby]
gem 'minitar', '~> 0.9', require: false
gem 'msgpack', '~> 1.2', require: false
gem 'rdoc', '~> 6.0', require: false, platforms: [:ruby]
gem 'rdoc', ['~> 6.0', '< 6.4.0'], require: false, platforms: [:ruby]
# requires native augeas headers/libs
# gem 'ruby-augeas', require: false, platforms: [:ruby]
# requires native ldap headers/libs
Expand Down

0 comments on commit 3b8b7ad

Please sign in to comment.