Skip to content
This repository has been archived by the owner on Mar 13, 2024. It is now read-only.

SUNM-36464 Update to account for Ruby 2.6 and add tests #15

SUNM-36464 Update to account for Ruby 2.6 and add tests

SUNM-36464 Update to account for Ruby 2.6 and add tests #15

Workflow file for this run

name: Ruby CI
on: [ push, pull_request ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
# Due to https://github.com/actions/runner/issues/849, we have to use quotes for '3.0'
ruby: [ 2.6, 2.7, '3.0', '3.1', '3.2' ]
gemfile: [ activesupport_6_0, activesupport_7_0 ]
env:

Check failure on line 14 in .github/workflows/ruby_ci.yml

View workflow run for this annotation

GitHub Actions / Ruby CI

Invalid workflow file

The workflow is not valid. .github/workflows/ruby_ci.yml (Line: 14, Col: 7): Unexpected value 'env'
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- run: bundle install
- run: bundle exec rspec
rubocop:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.1'
- run: bundle install
- run: bundle exec rubocop