Skip to content

Commit 2b53466

Browse files
authored
Merge pull request #255 from rspec/update-ci
Follow up for #254
2 parents 73cd6f3 + ceaea5a commit 2b53466

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

ci/.github/workflows/ci.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
name: RSpec CI
2-
on: [pull_request, push]
2+
on:
3+
push:
4+
branches:
5+
- 'main'
6+
- '*-maintenance'
7+
- '*-dev'
8+
pull_request:
9+
branches:
10+
- '*'
311
jobs:
412
test:
513
name: Ruby ${{ matrix.ruby }}
@@ -25,10 +33,6 @@ jobs:
2533
bundler: ${{ (matrix.ruby == 'jruby-9.1.17.0' && 1) || 2 }}
2634
ruby-version: ${{ matrix.ruby }}
2735
bundler-cache: true
28-
- uses: actions/cache@v2
29-
with:
30-
path: ../bundle
31-
key: ${{ runner.os }}-${{ matrix.ruby }}
3236
- run: script/update_rubygems_and_install_bundler
3337
- run: script/clone_all_rspec_repos
3438
- run: bundle install --binstubs --standalone

0 commit comments

Comments
 (0)