Skip to content

Commit

Permalink
add Ruby 3.3 and 3.4 to the CI matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
ashkulz committed Jan 11, 2025
1 parent fa73c1d commit da775d1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 13 deletions.
18 changes: 5 additions & 13 deletions .github/workflows/specs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,26 +11,18 @@ jobs:
runs-on: ubuntu-20.04
strategy:
matrix:
ruby-version:
- "2.3"
- "2.4"
- "2.5"
- "2.6"
- "2.7"
- "3.0"
- "3.1"
- "3.2"
ruby: ['2.3', '2.4', '2.5', '2.6', '2.7', '3.0', '3.1', '3.2', '3.3', '3.4']
exclude:
- ruby-version: "2.3" # Rugged uses the wrong openssl version on CI and segfaults (similar to https://github.com/libgit2/rugged/issues/718)
- ruby: "2.3" # Rugged uses the wrong openssl version on CI and segfaults (similar to https://github.com/libgit2/rugged/issues/718)
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Use specific gitlab gem version (if required)
if: matrix.ruby-version == '2.4'
if: matrix.ruby == '2.4'
run: echo "gem 'gitlab', '< 4.14.1'" >> Gemfile.local
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Test & publish code coverage
uses: paambaati/codeclimate-action@7bcf9e73c0ee77d178e72c0ec69f1a99c1afc1f3 # v2.7.5
Expand Down
1 change: 1 addition & 0 deletions pronto.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ Gem::Specification.new do |s|
s.add_runtime_dependency('rexml', '>= 3.2.5', '< 4.0')
s.add_runtime_dependency('rugged', '>= 0.23.0', '< 2.0')
s.add_runtime_dependency('thor', '>= 0.20.3', '< 2.0')
s.add_development_dependency('base64', '~> 0.1.2')
s.add_development_dependency('bundler', '>= 1.15')
s.add_development_dependency('pronto-rubocop', '~> 0.10.0')
s.add_development_dependency('rake', '~> 12.0')
Expand Down

0 comments on commit da775d1

Please sign in to comment.