Skip to content

Commit

Permalink
Use caching during CI
Browse files Browse the repository at this point in the history
  • Loading branch information
a666 committed Feb 5, 2024
1 parent 72c81ba commit 2a3c4e2
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,17 @@ jobs:
matrix:
rspec-minor-versions: [6, 7, 8, 9, 10, 11, 12, 13]
ruby-versions: ["2.6", "2.7", "3.0", "3.1", "3.2", "3.3"]
env:
BUNDLE_GEMFILE: gemfiles/rspec_3.${{ matrix.rspec-minor-versions }}.gemfile

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-versions }}

- name: install bundle
env:
BUNDLE_GEMFILE: gemfiles/rspec_3.${{ matrix.rspec-minor-versions }}.gemfile
run: bundle install
bundler-cache: true

- name: Run tests
run: bundle exec rake

0 comments on commit 2a3c4e2

Please sign in to comment.