Skip to content

Commit

Permalink
Run StandardRB linting on pull requests
Browse files Browse the repository at this point in the history
  • Loading branch information
koppen committed Oct 7, 2023
1 parent 5b5a2a6 commit 36eed2e
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,24 @@ name: Ruby
on: [push,pull_request]

jobs:
build:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.0.2
ruby-version: 3.2.2
bundler-cache: true
- name: Run the default task
run: bundle exec rake

lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2.2
bundler-cache: true
- name: Lint
run: bundle exec standardrb

0 comments on commit 36eed2e

Please sign in to comment.