Skip to content

Commit

Permalink
SRCH-2404 use bundler 2.2.24 (#99)
Browse files Browse the repository at this point in the history
- use ruby orb to install gems on CircleCi
  • Loading branch information
MothOnMars authored Jul 29, 2021
1 parent fbeb62b commit 918c0b5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 12 deletions.
16 changes: 5 additions & 11 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
# Check https://circleci.com/docs/2.0/language-ruby/ for more details
version: 2.1

orbs:
ruby: circleci/ruby@1.1.4

executors:
test_executor:
docker:
Expand Down Expand Up @@ -32,17 +35,8 @@ jobs:
command: |
cp -p config/flickr.yml.example config/flickr.yml
cp -p config/instagram.yml.example config/instagram.yml
- restore_cache:
key: bundle-{{ checksum "Gemfile.lock" }}
- run: gem install bundler:2.2.15
- run:
name: bundle install
command: |
bundle install --without development --jobs=4 --retry=3 --path vendor/bundle
- save_cache:
key: bundle-{{ checksum "Gemfile.lock" }}
paths:
- ~/app/vendor/bundle
# Install gems with Bundler
- ruby/install-deps
- run:
name: Install Code Climate Test Reporter
command: |
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -408,4 +408,4 @@ DEPENDENCIES
whenever (~> 0.9.4)

BUNDLED WITH
2.2.15
2.2.24

0 comments on commit 918c0b5

Please sign in to comment.