Skip to content

Update rubocop

Update rubocop #103

Workflow file for this run

name: tests
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
ruby: [ '3.1', '3.2', '3.3', '3.4', 'ruby-head' ]
env:
# The RUBYOPT flags can be removed if RuboCop style checks are added
# to the lint workflow and support for Ruby < 2.3 is dropped.
RUBYOPT: '--enable=frozen-string-literal --debug=frozen-string-literal'
steps:
- uses: actions/checkout@v4
- name: Set up Ruby ${{ matrix.ruby }}
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
rubygems: latest
- name: Test with Rake
run: bundle exec rake
- uses: codecov/codecov-action@v3
if: matrix.ruby == '3.4' # match version in spec_helper.rb:3