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 7153ea7
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,24 @@ name: test
on: [push]

jobs:
build:
lint:
runs-on: ubuntu-latest
strategy:
matrix:
ruby: ['3.2.2', '3.1.4', '3.0.6', '2.7.8', '2.6.10']
steps:
- uses: actions/checkout@master
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: Install bundler
run: gem install bundler
- name: Install dependencies
run: bundle install --jobs 4
- name: Run lint
run: bundle exec rubocop
test:
runs-on: ubuntu-latest
strategy:
matrix:
Expand Down

0 comments on commit 7153ea7

Please sign in to comment.