Skip to content

add rubocop action

add rubocop action #18

Workflow file for this run

name: 2024-ruby
on:
pull_request:
push:
paths:
- 2024/ruby/**
defaults:
run:
working-directory: ./2024/ruby
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
working-directory: ./2024/ruby
- name: RuboCop Linter Action
uses: andrewmcodes/[email protected]
- name: Run tests
run: bundle exec rspec