Skip to content

Commit

Permalink
Merge pull request #336 from irasutoya-tools/misc/rubocop
Browse files Browse the repository at this point in the history
💚 Add lint action
  • Loading branch information
unhappychoice committed Aug 4, 2023
2 parents 927d258 + 717c9c3 commit bbd635a
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,21 @@ name: test
on: [push]

jobs:
build:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2.2
- name: Install bundler
run: gem install bundler
- name: Install dependencies
run: bundle install --jobs 4
- name: Run lint
run: bundle exec rubocop lib
test:
runs-on: ubuntu-latest
strategy:
matrix:
Expand Down

0 comments on commit bbd635a

Please sign in to comment.