Skip to content

Commit

Permalink
Tweak ci script
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisrlc committed Feb 20, 2025
1 parent 7a5dbdd commit a29f9b6
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,19 @@ on:
branches: [master]

jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.3
bundler: 'default'
- name: Install dependencies
run: bundle install
- name: Run linter
run: bundle exec rake rubocop
test:
runs-on: ubuntu-latest
name: test (ruby ${{ matrix.ruby }} / rails ${{ matrix.rails_version }} / blacklight ${{ matrix.blacklight_version }} ${{ matrix.additional_name }})
Expand All @@ -26,6 +39,8 @@ jobs:
- name: Set up Ruby ${{ matrix.ruby }}
uses: ruby/setup-ruby@v1
with:
bundler-cache: false
bundler: "latest"
ruby-version: ${{ matrix.ruby }}
- name: Install dependencies with Rails ${{ matrix.rails_version }}
run: bundle install
Expand Down

0 comments on commit a29f9b6

Please sign in to comment.