Skip to content

Prefer Dir.glob with block over Dir#[] + #each #39

Prefer Dir.glob with block over Dir#[] + #each

Prefer Dir.glob with block over Dir#[] + #each #39

Workflow file for this run

name: CI
on: [push, pull_request]
permissions:
contents: read
jobs:
test:
strategy:
fail-fast: false
matrix:
os: [ ubuntu-20.04 ]
ruby: [ 2.0.0, 2.1, 2.3, 2.4, 2.5, 2.6, 2.7, '3.0', 3.1, 3.2, jruby-9.3, jruby-9.4 ]
gemfile: [ Gemfile, Gemfile.rack-1.x ]
exclude:
- ruby: 2.0.0
gemfile: Gemfile
- ruby: 2.1
gemfile: Gemfile
runs-on: ${{ matrix.os }}
env:
BUNDLE_GEMFILE: ${{ github.workspace }}/${{ matrix.gemfile }}
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- run: bundle exec rake spec