Skip to content

Commit d15c3b1

Browse files
committed
Add GitHub Action for RSpec
1 parent df59593 commit d15c3b1

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

.github/workflows/rspec.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
2+
name: RSpec
3+
4+
on:
5+
push:
6+
branches:
7+
- master
8+
pull_request:
9+
branches:
10+
- master
11+
schedule:
12+
- cron: "0 21 * * 6"
13+
14+
jobs:
15+
rspec:
16+
runs-on: ubuntu-24.04
17+
timeout-minutes: 10
18+
strategy:
19+
fail-fast: false
20+
matrix:
21+
ruby: ["3.1", "3.2", "3.3", "3.4"]
22+
23+
steps:
24+
- uses: actions/checkout@v4
25+
- run: rm -f Gemfile.lock
26+
- run: rm -f .ruby-version
27+
- name: Set up Ruby
28+
uses: ruby/setup-ruby@v1
29+
with:
30+
ruby-version: ${{ matrix.ruby }}
31+
rubygems: latest
32+
bundler: latest
33+
bundler-cache: true
34+
35+
- run: bundle exec rspec

0 commit comments

Comments
 (0)