diff --git a/.github/workflows/specs.yml b/.github/workflows/specs.yml index e2ca7323..06f38d16 100644 --- a/.github/workflows/specs.yml +++ b/.github/workflows/specs.yml @@ -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 diff --git a/pronto.gemspec b/pronto.gemspec index 0d27c9af..b1a2dbba 100644 --- a/pronto.gemspec +++ b/pronto.gemspec @@ -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')