Skip to content

Commit 1777975

Browse files
authored
Merge pull request rails#47 from jonathanhefner/set-up-ci
Set up CI
2 parents 641c982 + 8149157 commit 1777975

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/ci.yml

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: CI
2+
on: [push, pull_request]
3+
jobs:
4+
tests:
5+
runs-on: ubuntu-latest
6+
strategy:
7+
matrix:
8+
ruby: [2.7, "3.0"]
9+
10+
steps:
11+
- uses: actions/checkout@v2
12+
13+
- name: Set up Ruby
14+
uses: ruby/setup-ruby@v1
15+
with:
16+
ruby-version: ${{ matrix.ruby }}
17+
bundler: latest
18+
bundler-cache: true
19+
20+
- name: Run tests
21+
run: bin/test

0 commit comments

Comments
 (0)