Skip to content

Bump rubocop-rspec from 3.0.4 to 3.0.5 #525

Bump rubocop-rspec from 3.0.4 to 3.0.5

Bump rubocop-rspec from 3.0.4 to 3.0.5 #525

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
jobs:
main:
name: >-
${{ matrix.os }} ${{ matrix.ruby }}
runs-on: ${{ matrix.os }}-latest
env:
# See https://github.com/tmm1/test-queue#environment-variables
TEST_QUEUE_WORKERS: 2
strategy:
fail-fast: false
matrix:
os: [ windows, macos, ubuntu ]
ruby: [ '3.1', '3.2', '3.3', 'head' ]
steps:
- name: windows misc
if: matrix.os == 'windows'
run: |
# set TMPDIR, git core.autocrlf
echo "TMPDIR=$env:RUNNER_TEMP" >> $GITHUB_ENV
git config --system core.autocrlf false
- name: checkout
uses: actions/checkout@v4
- name: set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: spec
run: bundle exec rspec
- name: rubocop
run: bundle exec rubocop
- name: yalphabetize
run: bundle exec yalphabetize