Skip to content

Commit

Permalink
Merge pull request #14 from substancelab/migrate_standardrb-action
Browse files Browse the repository at this point in the history
Migrate away from standardrb-action
  • Loading branch information
koppen authored Jun 17, 2024
2 parents d65b138 + 5103d33 commit 378dd69
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,6 @@ jobs:
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
bundler: 2.4.22 # For Ruby 2.7 compatibility
- name: Run tests
run: bundle exec rake
14 changes: 8 additions & 6 deletions .github/workflows/standardrb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,13 @@ name: StandardRB
on: [push]

jobs:
build:
standardrb:
name: StandardRB
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: StandardRB Linter
uses: andrewmcodes/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
bundler-cache: true
ruby-version: 3.3
- run: bundle exec standardrb --format github --parallel

0 comments on commit 378dd69

Please sign in to comment.