Skip to content

Commit

Permalink
feat(CI): use setup-ruby's bundle installer and cache (#275)
Browse files Browse the repository at this point in the history
Co-authored-by: Joseph Yi <[email protected]>
  • Loading branch information
josephyi and Joseph Yi authored Oct 4, 2022
1 parent 2b76af5 commit f5621b6
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,12 @@ jobs:
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby_version }}
- run: "bundle install"
bundler-cache: true
- run: "bundle exec rake"
test-with-active-support:
runs-on: "ubuntu-latest"
env:
BUNDLE_GEMFILE: active-support.gemfile
strategy:
fail-fast: false
matrix:
Expand All @@ -27,9 +29,5 @@ jobs:
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby_version }}
- run: "bundle install "
env:
BUNDLE_GEMFILE: active-support.gemfile
bundler-cache: true
- run: "bundle exec rake spec_with_active_support"
env:
BUNDLE_GEMFILE: active-support.gemfile

0 comments on commit f5621b6

Please sign in to comment.