Skip to content

Commit

Permalink
Merge pull request #1232 from fastlane/roger/fix-ci
Browse files Browse the repository at this point in the history
[c] Fix CI by installing specific bundler version
  • Loading branch information
lacostej committed Jan 18, 2024
2 parents e925077 + b39ef4d commit 1a5a24a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .ci/bundler_version.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# /usr/bin/env ruby
file = File.join(__dir__, "..", "Gemfile.lock")
lines = File.read(file).split("\n")
idx = lines.index { |l| l == "BUNDLED WITH" }
puts lines[idx + 1].strip
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
- checkout
- run: sudo pip3 install pipenv
- run: pipenv install
- run: gem install bundler
- run: gem install bundler -v $(ruby .ci/bundler_version.rb)
- run: bundle update
- run: pipenv run bundle exec fastlane test
- run: bundle exec rubocop
Expand All @@ -22,7 +22,7 @@ jobs:
- checkout
- run: sudo pip3 install pipenv
- run: pipenv install
- run: gem install bundler
- run: gem install bundler -v $(ruby .ci/bundler_version.rb)
- run: bundle update
- run: pipenv run ./scripts/ci/deploy.sh

Expand Down

0 comments on commit 1a5a24a

Please sign in to comment.