Skip to content

fix: tests syntax for Ruby 2.7 #267

fix: tests syntax for Ruby 2.7

fix: tests syntax for Ruby 2.7 #267

Workflow file for this run

name: Lint Ruby
on:
push:
branches:
- master
pull_request:
workflow_dispatch:
jobs:
rubocop:
runs-on: ubuntu-latest
env:
BUNDLE_GEMFILE: "gemfiles/rubocop.gemfile"
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.1
bundler-cache: true
- name: Lint Ruby code with RuboCop
run: |
bundle exec rubocop