Skip to content

Commit

Permalink
Update GitHub Action to run rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
elct9620 committed Nov 7, 2023
1 parent 0c35f8c commit 1d1b611
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,18 @@ on:
pull_request:

jobs:
rubocop:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.2'
bundler-cache: true
- name: Rubocop
run: bundle exec rubocop

rspec:
runs-on: ubuntu-latest
strategy:
Expand All @@ -29,5 +41,5 @@ jobs:
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Run RSpec
- name: RSpec
run: bundle exec rspec

0 comments on commit 1d1b611

Please sign in to comment.