Skip to content

Commit

Permalink
Merge pull request #2 from substancelab/standardrb
Browse files Browse the repository at this point in the history
Annotate pull requests with StandardRB violations
  • Loading branch information
koppen authored Oct 7, 2023
2 parents 5b5a2a6 + 36eed2e commit 571d3c5
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 571d3c5

Please sign in to comment.