.github/workflows/ruby.yml in fast_jsonparser-0.5.0 vs .github/workflows/ruby.yml in fast_jsonparser-0.6.0
- old
+ new
@@ -15,19 +15,20 @@
jobs:
test:
runs-on: ubuntu-latest
+
+ strategy:
+ matrix:
+ ruby-version: [3.0.1, 2.7.3, 2.6.7, 2.6.5]
steps:
- uses: actions/checkout@v2
- - name: Set up Ruby
- # To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
- # change this to (see https://github.com/ruby/setup-ruby#versioning):
- # uses: ruby/setup-ruby@v1
- uses: ruby/setup-ruby@ec106b438a1ff6ff109590de34ddc62c540232e0
+ - name: Set up Ruby ${{ matrix.ruby-version }}
+ uses: ruby/setup-ruby@v1
with:
- ruby-version: 2.6
+ ruby-version: ${{ matrix.ruby-version }}
- name: Install dependencies
run: bundle install
- name: Compile
run: bundle exec rake compile
- name: Run tests