Bump rubocop from 1.55.1 to 1.56.0 #539
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@v3 | |
- name: Setup Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 3.2 | |
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@v3 | |
if: ${{ success() || failure() }} | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Setup Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 3.2 | |
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 |