Skip to content

Add a linting workflow #6

Add a linting workflow

Add a linting workflow #6

Workflow file for this run

---
name: Ruby
on:
push:
branches:
- master
pull_request:
jobs:
build:
runs-on: ubuntu-latest
name: Ruby ${{ matrix.ruby }}
strategy:
matrix:
ruby-version:
- '3.3'
- '3.2'
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true
- name: Rubocop
run: rubocop -f github
- name: Run the default task
run: bundle exec rake