Skip to content

Commit

Permalink
Added GitHub Actions workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
postmodern committed May 2, 2024
1 parent fe90f06 commit 25d2aa8
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/rubocop.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: CI

on: [ push, pull_request ]

jobs:
# rubocop linting
rubocop:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.0
- name: Install dependencies
run: bundle install --jobs 4 --retry 3
- name: Run rubocop
run: bundle exec rubocop --parallel

0 comments on commit 25d2aa8

Please sign in to comment.