Skip to content

Commit 517fbff

Browse files
committed
github actions
1 parent bfcf867 commit 517fbff

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/spec.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Spec
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
permissions:
8+
contents: read
9+
10+
jobs:
11+
spec:
12+
strategy:
13+
matrix:
14+
os: ['ubuntu-20.04']
15+
ruby-version: ['2.6', '2.7', '3.0', '3.1']
16+
# ubuntu 22.04 only supports ssl 3 and thus only ruby 3.1
17+
include:
18+
- os: 'ubuntu-22.04'
19+
ruby-version: '3.1'
20+
runs-on: ${{ matrix.os }}
21+
22+
steps:
23+
- uses: actions/checkout@v3
24+
- name: Set up Ruby
25+
uses: ruby/setup-ruby@v1
26+
with:
27+
ruby-version: ${{ matrix.ruby-version }}
28+
bundler-cache: true
29+
- name: Run Specs
30+
run: bundle exec rake spec

0 commit comments

Comments
 (0)