Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 18 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,27 @@ jobs:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true

- name: Display Ruby version
run: ruby -v

- name: Test
run: bundle exec rake

lint:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.3
bundler-cache: true

- name: Rubocop lint
run: if [[ "$RUBY_ENGINE" == "ruby" ]]; then bundle exec rubocop; fi
run: bundle exec rubocop

- name: YARD lint
run: |
touch README # Workaround for "incorrect" anchor links in README.md
bundle exec yardoc --fail-on-warning --no-progress --readme=README

- name: Display Ruby version
run: ruby -v

- name: Test
run: bundle exec rake