diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index c1af4aa..165f2dc 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -3,6 +3,10 @@ on: [push] jobs: test: + strategy: + fail-fast: false + matrix: + ruby: ['3.1.0', '3.2.0', '3.3.0-preview2'] runs-on: ubuntu-latest name: Tests steps: @@ -10,7 +14,7 @@ jobs: - name: Set up Ruby uses: ruby/setup-ruby@v1 with: - ruby-version: 3.2 + ruby-version: ${{ matrix.ruby }} - name: Install gems run: bundle install - name: Run tests diff --git a/govuk_rspec_helpers.gemspec b/govuk_rspec_helpers.gemspec index b99a927..1f5346b 100644 --- a/govuk_rspec_helpers.gemspec +++ b/govuk_rspec_helpers.gemspec @@ -11,7 +11,7 @@ Gem::Specification.new do |spec| spec.description = "" spec.homepage = "https://x-govuk.github.io" spec.license = "MIT" - spec.required_ruby_version = ">= 3.1.4" + spec.required_ruby_version = ">= 3.1.0" spec.metadata["homepage_uri"] = spec.homepage