fixed missing (edge) cases for the transform from 2.0 to 2.1 #772
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
- push | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 3.3 | |
bundler-cache: true | |
- name: Run tests | |
env: | |
RAILS_ENV: test | |
CC_TEST_REPORTER_ID: true | |
run: bundle exec rspec --color --format RSpec::Github::Formatter --format progress --require spec_helper | |
- name: Upload coverage reports to Codecov | |
uses: codecov/codecov-action@v4 | |
if: ${{ success() || failure() }} | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 3.3 | |
bundler-cache: true | |
- name: Run rubocop | |
uses: reviewdog/action-rubocop@v2 | |
with: | |
filter_mode: nofilter | |
rubocop_version: gemfile | |
rubocop_extensions: rubocop-rspec:gemfile rubocop-performance:gemfile | |
rubocop_flags: --parallel | |
reporter: github-check | |
skip_install: true | |
use_bundler: true | |
fail_on_error: true |