Skip to content

Commit 8709f24

Browse files
committed
Fix
1 parent 448e765 commit 8709f24

2 files changed

Lines changed: 30 additions & 2 deletions

File tree

.github/actions/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: Ruby CI
22

33
on:
44
push:
5-
branches: [ master ]
5+
branches: [ main ]
66
pull_request:
7-
branches: [ master ]
7+
branches: [ main ]
88

99
jobs:
1010
test:

.github/workflows/ci.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Ruby CI
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
jobs:
10+
test:
11+
name: Ruby gem CI
12+
runs-on: ubuntu-latest
13+
strategy:
14+
matrix:
15+
ruby: ['2.3', '2.4', '2.5', '2.6', '2.7', '3.0', '3.1', '3.2']
16+
steps:
17+
- uses: actions/checkout@v2
18+
- name: Set up Ruby
19+
uses: ruby/setup-ruby@v1
20+
with:
21+
ruby-version: ${{ matrix.ruby }}
22+
- name: Install dependencies
23+
run: |
24+
gem install bundler
25+
bundle install --jobs 4 --retry 3
26+
- name: Run tests
27+
run: bundle exec rake
28+

0 commit comments

Comments
 (0)