Skip to content

Commit

Permalink
Downgrade required ruby version (#30)
Browse files Browse the repository at this point in the history
Not everyone is on 3.1.4. yet...
  • Loading branch information
frankieroberto authored Oct 5, 2023
1 parent 119bf34 commit 79e7270
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,18 @@ 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:
- uses: actions/checkout@v3
- 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
Expand Down
2 changes: 1 addition & 1 deletion govuk_rspec_helpers.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 79e7270

Please sign in to comment.