Skip to content

Commit 2cb6055

Browse files
committed
Add gh workflow.
1 parent 00d2b94 commit 2cb6055

File tree

2 files changed

+35
-0
lines changed

2 files changed

+35
-0
lines changed

.github/workflows/ruby.yml

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
name: Ruby
3+
4+
on:
5+
push:
6+
branches: ["main"]
7+
8+
permissions:
9+
contents: read
10+
11+
jobs:
12+
test:
13+
runs-on: ubuntu-latest
14+
strategy:
15+
matrix:
16+
ruby-version: ['3.3']
17+
steps:
18+
- uses: actions/checkout@v3
19+
- name: Set up Ruby
20+
uses: ruby/setup-ruby@v1
21+
with:
22+
ruby-version: ${{ matrix.ruby-version }}
23+
bundler-cache: true
24+
- name: Run tests
25+
run: bundle exec rake rspec

.yamllint

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
extends: default
3+
rules:
4+
indentation:
5+
indent-sequences: consistent
6+
truthy:
7+
allowed-values: ['true', 'false', 'yes', 'no', 'on', 'off', '1', '0']
8+
check-keys: true
9+
10+
# vim:ft=yaml

0 commit comments

Comments
 (0)