Skip to content

rubocop 1.68.0 (require ruby 2.5) #210

rubocop 1.68.0 (require ruby 2.5)

rubocop 1.68.0 (require ruby 2.5) #210

Workflow file for this run

name: check
on:
push:
pull_request:
schedule:
- cron: 45 4 * * 0
jobs:
check:
runs-on: ubuntu-latest
env:
DRIVER: ${{ matrix.driver }}
strategy:
matrix:
ruby:
- '2.5'
- '2.6'
- '2.7'
- '3.0'
- '3.1'
- '3.2'
- '3.3'
- jruby-9.3
- jruby-9.4
driver:
- git
- rugged
exclude:
- ruby: jruby-9.3
driver: rugged
- ruby: jruby-9.4
driver: rugged
fail-fast: false
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: "${{ matrix.ruby }}"
bundler-cache: true
- run: bundle exec rspec
benchmark:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3'
bundler-cache: true
- run: DRIVER=rugged bundle install --jobs=3 --retry=3
- run: DRIVER=git bundle exec script/benchmark
- run: DRIVER=rugged bundle exec script/benchmark