Skip to content

Commit

Permalink
Merge pull request #5 from ruby/ci-use-bundler-cache
Browse files Browse the repository at this point in the history
build: Use bundler-cache in CI
  • Loading branch information
olleolleolle authored Sep 14, 2021
2 parents bd2b703 + 9d14b21 commit 440c9d2
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: test

on: [push, pull_request]
on:
push:
branches:
- master
pull_request:

jobs:
test:
Expand All @@ -16,7 +20,6 @@ jobs:
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: Install dependencies
run: bundle install
bundler-cache: true # 'bundle install' and cache results
- name: Run test
run: rake test
run: bundle exec rake

0 comments on commit 440c9d2

Please sign in to comment.