Skip to content

Commit 82f1e43

Browse files
committed
Add workflow file for GitHub Actions CI
1 parent 2250970 commit 82f1e43

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/ruby.yml

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Ruby
2+
3+
on:
4+
push:
5+
branches: [ '*' ]
6+
pull_request:
7+
branches: [ '*' ]
8+
9+
permissions:
10+
contents: read
11+
12+
jobs:
13+
test:
14+
runs-on: ubuntu-latest
15+
16+
steps:
17+
- uses: actions/checkout@v4
18+
- name: Set up Ruby
19+
# To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
20+
# change this to (see https://github.com/ruby/setup-ruby#versioning):
21+
# uses: ruby/setup-ruby@v1
22+
uses: ruby/setup-ruby@v1
23+
with:
24+
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
25+
- name: Run tests
26+
run: bundle exec rake spec
27+

0 commit comments

Comments
 (0)