-
-
Notifications
You must be signed in to change notification settings - Fork 20
33 lines (31 loc) · 814 Bytes
/
test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: Test
on:
push:
branches:
- main
pull_request:
jobs:
test:
strategy:
matrix:
ruby: ["2.7", "3.0", "3.1", "3.2", "3.3"]
gemfile:
- gemfiles/rubocop_1.57.gemfile
- gemfiles/rubocop_1.58.gemfile
- gemfiles/rubocop_1.59.gemfile
- gemfiles/rubocop_1.60.gemfile
- gemfiles/rubocop_1.61.gemfile
- gemfiles/rubocop_1.62.gemfile
- gemfiles/rubocop_1.63.gemfile
env:
BUNDLE_GEMFILE: ${{ matrix.gemfile }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Ruby ${{ matrix.ruby }}
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Run Test
run: bundle exec rake