Skip to content

Commit

Permalink
Add lint job during CI
Browse files Browse the repository at this point in the history
  • Loading branch information
rnestler committed Jan 22, 2024
1 parent 796dd17 commit 022654f
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,18 @@ on:
branches: [ "master" ]

jobs:
lint:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '2.7'
bundler-cache: true
- name: Run rubocop
run: bundle exec standardrb

build:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 022654f

Please sign in to comment.