Skip to content

Require simplecov only if ENV['SIMPLECOV'] presents #18

Require simplecov only if ENV['SIMPLECOV'] presents

Require simplecov only if ENV['SIMPLECOV'] presents #18

Workflow file for this run

name: "[CI] Lint"
on:
push:
branches:
- develop
- main
- release/*
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
lint:
name: Rubocop
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 1
- uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- name: Rubocop
uses: reviewdog/action-rubocop@v2
with:
rubocop_version: gemfile
rubocop_extensions: rubocop-rails:gemfile rubocop-rspec:gemfile
github_token: ${{ secrets.GITHUB_TOKEN }}