Skip to content

Commit

Permalink
Add a CI job for linting
Browse files Browse the repository at this point in the history
  • Loading branch information
st0012 committed Jan 31, 2024
1 parent d1ade29 commit 066894f
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,17 @@ jobs:
with:
engine: cruby-truffleruby
min_version: 2.7

lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: "3.3"
bundler-cache: true
- name: Run rubocop
run: bundle exec rubocop
irb:
needs: ruby-versions
name: rake test ${{ matrix.ruby }} ${{ matrix.with_latest_reline && '(latest reline)' || '' }}
Expand Down

0 comments on commit 066894f

Please sign in to comment.