Skip to content

add ruby version

add ruby version #42

Workflow file for this run

name: "[CI] Lint"
on:
push:
branches:
- main
- release/*
pull_request:
env:
RUBY_VERSION: 3.0.6
jobs:
lint-report:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 1
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ env.RUBY_VERSION }}
bundler-cache: true
- name: Lint and Rubocop
run: |
bundle exec rubocop -P
bundle exec erblint app/**/*.erb