Skip to content

Commit 624c7bf

Browse files
committed
ci: add github actions workflow
1 parent b41bc7a commit 624c7bf

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/ci.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: ci
2+
concurrency:
3+
group: "${{github.workflow}}-${{github.ref}}"
4+
cancel-in-progress: true
5+
on:
6+
workflow_dispatch:
7+
push:
8+
branches:
9+
- main
10+
- v*.*.x
11+
tags:
12+
- v*.*.*
13+
pull_request:
14+
types: [opened, synchronize]
15+
branches:
16+
- '*'
17+
18+
jobs:
19+
test:
20+
strategy:
21+
matrix:
22+
ruby: ["2.2", "2.3", "2.4", "2.5", "2.6", "2.7", "3.0", "ruby-head", "jruby-9.2", "jruby-head"]
23+
runs-on: ubuntu-latest
24+
steps:
25+
- uses: actions/checkout@v2
26+
- uses: ruby/setup-ruby@v1
27+
with:
28+
ruby-version: ${{matrix.ruby}}
29+
bundler-cache: true
30+
- run: bundle exec rake

0 commit comments

Comments
 (0)