Merge pull request #302 from tuist/improve_circleci_performance
Improve CircleCI by caching gems and not updating homebrew
This commit is contained in:
commit
33fc00bbf1
|
@ -12,11 +12,13 @@ jobs:
|
|||
xcode: '10.1.0'
|
||||
steps:
|
||||
- checkout
|
||||
- restore_cache:
|
||||
key: bundler-{{ checksum "Gemfile.lock" }}
|
||||
- run:
|
||||
name: Install Dependencies
|
||||
command: |
|
||||
brew install swiftformat
|
||||
bundle install
|
||||
HOMEBREW_NO_AUTO_UPDATE=1 brew install swiftformat
|
||||
bundle install --local || bundle package
|
||||
- run:
|
||||
name: Run Danger
|
||||
command: bundle exec danger
|
||||
|
@ -37,3 +39,7 @@ jobs:
|
|||
- run:
|
||||
name: Send test coverage report
|
||||
command: bash <(curl -s https://codecov.io/bash)
|
||||
- save_cache:
|
||||
key: bundler-{{ checksum "Gemfile.lock" }}
|
||||
paths:
|
||||
- "vendor"
|
||||
|
|
Loading…
Reference in New Issue