diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index b544f61..fdc2dfb 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -28,12 +28,13 @@ jobs: - name: Run Rubocop run: bundle exec rake rubocop - id: ruby - uses: voxpupuli/ruby-version@v1 + uses: voxpupuli/ruby-version@v2 test: name: "Ruby ${{ matrix.ruby }}" runs-on: ubuntu-latest needs: rubocop_and_matrix strategy: + fail-fast: false matrix: ruby: ${{ fromJSON(needs.rubocop_and_matrix.outputs.ruby) }} steps: @@ -49,10 +50,14 @@ jobs: run: gem build --strict --verbose *.gemspec tests: + if: always() needs: - rubocop_and_matrix - test runs-on: ubuntu-24.04 name: Test suite steps: - - run: echo Test suite completed + - name: Decide whether the needed jobs succeeded or failed + uses: re-actors/alls-green@release/v1 + with: + jobs: ${{ toJSON(needs) }} diff --git a/Gemfile b/Gemfile index e9548b9..6964a96 100644 --- a/Gemfile +++ b/Gemfile @@ -2,5 +2,7 @@ source 'https://rubygems.org' +gem 'octocatalog-diff', github: 'bastelfreak/octocatalog-diff', branch: 'openvox' + # Specify your gem's dependencies in onceover-octocatalog-diff.gemspec gemspec diff --git a/Rakefile b/Rakefile index 7d22a85..3ccb7b0 100644 --- a/Rakefile +++ b/Rakefile @@ -1,6 +1,5 @@ # frozen_string_literal: true -require 'bundler/gem_tasks' require 'rspec/core/rake_task' require 'voxpupuli/test/rake' diff --git a/onceover-octocatalog-diff.gemspec b/onceover-octocatalog-diff.gemspec index ff815af..a1f21c8 100644 --- a/onceover-octocatalog-diff.gemspec +++ b/onceover-octocatalog-diff.gemspec @@ -22,7 +22,6 @@ Gem::Specification.new do |spec| # rubocop:disable Gemspec/RequireMFA spec.required_ruby_version = Gem::Requirement.new('>= 3.2') - spec.add_development_dependency 'bundler', '~> 2.4' spec.add_development_dependency 'rake', '~> 13.3' spec.add_runtime_dependency 'octocatalog-diff', '~> 2.3'