Skip to content

apply rubocop 1.59.0. Drop Ruby 2.7 and add 3.3 #46

apply rubocop 1.59.0. Drop Ruby 2.7 and add 3.3

apply rubocop 1.59.0. Drop Ruby 2.7 and add 3.3 #46

Workflow file for this run

name: Lint by RuboCop
on:
push:
branches:
- master
pull_request:
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
ruby: ['3.0', '3.1', '3.2', '3.3']
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: fix ImageMagick policy.xml on Linux
if: runner.os == 'Linux'
run: sudo sed -i 's/none/read|write/g' /etc/ImageMagick-6/policy.xml
- name: Build and test with Rake
run: |
gem install bundler --no-document
bundle install --retry 3
bundle exec rubocop -P