Skip to content

Update rubocop requirement from ~> 1.79.0 to ~> 1.80.0 #265

Update rubocop requirement from ~> 1.79.0 to ~> 1.80.0

Update rubocop requirement from ~> 1.79.0 to ~> 1.80.0 #265

Workflow file for this run

name: CI
on:
push:
branches: [ '**' ]
tags-ignore: [ '**' ]
pull_request:
jobs:
rubocop:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.4'
bundler-cache: true
- name: Rubocop
run: bundle exec rubocop
build:
strategy:
matrix:
ruby: [ 'jruby', '2.7', '3.4' ]
python: [ '3.8', '3.13' ]
platform: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.platform }}
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
- name: Run Tests
run: bundle exec rake test
env:
# Workaround JVM bug that causes JRuby to fail: https://bugs.openjdk.org/browse/JDK-8285445
# See https://github.com/ruby/setup-ruby/issues/339
# See https://github.com/jruby/jruby/issues/7182#issuecomment-1111610677
JAVA_OPTS: -Djdk.io.File.enableADS=true