Skip to content

Merge pull request #6 from ivanyv/fix_anonymous_block_arg #24

Merge pull request #6 from ivanyv/fix_anonymous_block_arg

Merge pull request #6 from ivanyv/fix_anonymous_block_arg #24

Workflow file for this run

name: Ruby
on:
push:
branches:
- master
pull_request:
jobs:
tests:
strategy:
fail-fast: false
matrix:
os: ["ubuntu-latest", "macos-latest"]
ruby-version:
- "3.2"
- "3.3"
- "3.4"
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true
- name: Install dependencies
run: |
bundle config set --local without "development"
bundle install
- name: Tests
run: bundle exec sus
rubocop:
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v4
- name: Setup
uses: ruby/setup-ruby@v1
with:
ruby-version: "3.3"
bundler-cache: true
- name: Install dependencies
run: |
bundle config set --local only "development"
bundle install
- name: Rubocop
run: bundle exec rubocop