Skip to content

Commit

Permalink
💚 Add lint action
Browse files Browse the repository at this point in the history
  • Loading branch information
unhappychoice committed Aug 4, 2023
1 parent 927d258 commit 717c9c3
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 717c9c3

Please sign in to comment.