-
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Run CI against more recent ruby versions
- Loading branch information
1 parent
c15c237
commit 05c8652
Showing
1 changed file
with
2 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,24 @@ | ||
name: CI | ||
on: [push, pull_request] | ||
|
||
jobs: | ||
main: | ||
name: Ruby ${{ matrix.ruby }} | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
ruby: | ||
- 2.5 | ||
- 2.6 | ||
- 2.7 | ||
- 3.0 | ||
- 3.1 | ||
- 3.2 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: ${{ matrix.ruby }} | ||
|
||
- name: Install gems | ||
run: bundle install | ||
|
||
- name: RuboCop | ||
run: bundle exec rubocop --parallel | ||
|
||
- name: RSpec | ||
run: bundle exec rspec |