Skip to content

Commit

Permalink
add rubocop workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
White-Green authored Nov 1, 2024
1 parent 1b379e8 commit 231387d
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Check

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
rubocop:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.3'
- name: Install dependencies
run: bundle install
- name: Run tests
run: bundle exec rubocop

0 comments on commit 231387d

Please sign in to comment.