Skip to content

Commit 2dca976

Browse files
committed
Add github actions
1 parent 66c00e1 commit 2dca976

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

.github/workflows/main.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Build
2+
on: [push,pull_request]
3+
jobs:
4+
build:
5+
runs-on: ubuntu-latest
6+
strategy:
7+
matrix:
8+
ruby-version:
9+
- 2.0
10+
- 2.5
11+
- 2.6
12+
- 2.7
13+
- 3.0
14+
- ruby-head
15+
- ruby-head-clang
16+
- jruby-9.1
17+
- jruby-head
18+
name: Ruby ${{ matrix.ruby-version }} sample
19+
steps:
20+
- uses: actions/checkout@v3
21+
- uses: actions/setup-ruby@v1
22+
with:
23+
ruby-version: ${{ matrix.ruby-version }}
24+
- env:
25+
DETECTLANGUAGE_API_KEY: ${{ secrets.DETECTLANGUAGE_API_KEY }}
26+
run: bundle exec rake spec

0 commit comments

Comments
 (0)