Fixed for Ruby 4 (#6)
* Fixed for Ruby 4, changed OpenStruct to data, fixed tests, updated minimum ruby version to 3.2 for use of Data.define * Update CI * Lets test ruby 3 and 4, and ubuntu and osx * Let's do the fancy verbose rspec output
This commit is contained in:
1 parent
f7bb6ebbab
commit
4c72705316
1 file changed
+11
-4
@@ -8,13 +8,20 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
runs-on: ubuntu-latest
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
os: [ubuntu-latest, macos-latest]
|
||||||
|
ruby: ['3.2', '4.0']
|
||||||
|
|
||||||
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v6
|
||||||
- name: Set up Ruby
|
- name: Set up Ruby
|
||||||
uses: ruby/setup-ruby@ec106b438a1ff6ff109590de34ddc62c540232e0
|
uses: ruby/setup-ruby@v1
|
||||||
with:
|
with:
|
||||||
ruby-version: 2.6
|
ruby-version: ${{ matrix.ruby }}
|
||||||
|
bundler-cache: true
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: bundle install
|
run: bundle install
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
|
|||||||
Reference in new issue
Block a user