Skip to content

Commit

Permalink
Revert github actions matrix changes
Browse files Browse the repository at this point in the history
  • Loading branch information
bilby91 committed Nov 12, 2024
1 parent 8dee55e commit 0aecd88
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 19 deletions.
23 changes: 5 additions & 18 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,34 +12,21 @@ jobs:
strategy:
fail-fast: false
matrix:
versions:
- { activesupport: '6.1', ruby: '3.1' }
- { activesupport: '7.0', ruby: '3.1' }
- { activesupport: '7.1', ruby: '3.1' }
- { activesupport: '7.2', ruby: '3.1' }
- { activesupport: '6.1', ruby: '3.2' }
- { activesupport: '7.0', ruby: '3.2' }
- { activesupport: '7.1', ruby: '3.2' }
- { activesupport: '7.2', ruby: '3.2' }
- { activesupport: '8.0', ruby: '3.2' }
- { activesupport: '6.1', ruby: '3.3' }
- { activesupport: '7.0', ruby: '3.3' }
- { activesupport: '7.1', ruby: '3.3' }
- { activesupport: '7.2', ruby: '3.3' }
- { activesupport: '8.0', ruby: '3.3' }
activesupport: ['6.1', '7.0', '7.1', '7.2', '8.0']
json_schemer: ['2.0', '2.1', '2.2', '2.3']
ruby: ['3.2', '3.3']
env:
ACTIVESUPPORT: '${{ matrix.versions.activesupport }}'
ACTIVESUPPORT: '${{ matrix.activesupport }}'
COVERAGE: 'true'
JSON_SCHEMER: '${{ matrix.json_schemer }}'
steps:
- uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '${{ matrix.versions.ruby }}'
ruby-version: '${{ matrix.ruby }}'
bundler-cache: true
cache-version: ${{ matrix.versions.activesupport }}-${{ matrix.json_schemer }}
cache-version: ${{ matrix.activesupport }}-${{ matrix.json_schemer }}
- name: Rspec
run: bundle exec rspec

Expand Down
2 changes: 1 addition & 1 deletion openapi_contracts.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Gem::Specification.new do |s|
s.homepage = 'https://github.com/mkon/openapi_contracts'
s.summary = 'Openapi schemas as API contracts'
s.license = 'MIT'
s.required_ruby_version = '>= 3.1', '< 3.4'
s.required_ruby_version = '>= 3.2', '< 3.4'

s.files = Dir['lib/**/*', 'README.md']

Expand Down

0 comments on commit 0aecd88

Please sign in to comment.