WIP: Improve CircleCI by caching gems and not updating homebrew

This commit is contained in:
Oliver Atkinson 2019-03-23 10:54:14 +00:00
parent c910164c1e
commit e72e809761
1 changed files with 8 additions and 2 deletions

View File

@ -12,11 +12,13 @@ jobs:
xcode: '10.1.0' xcode: '10.1.0'
steps: steps:
- checkout - checkout
- restore_cache:
key: bundler-{{ checksum "Gemfile.lock" }}
- run: - run:
name: Install Dependencies name: Install Dependencies
command: | command: |
brew install swiftformat HOMEBREW_NO_AUTO_UPDATE=1 brew install swiftformat
bundle install bundle install --local || bundle package
- run: - run:
name: Run Danger name: Run Danger
command: bundle exec danger command: bundle exec danger
@ -37,3 +39,7 @@ jobs:
- run: - run:
name: Send test coverage report name: Send test coverage report
command: bash <(curl -s https://codecov.io/bash) command: bash <(curl -s https://codecov.io/bash)
- save_cache:
key: bundler-{{ checksum "Gemfile.lock" }}
paths:
- "vendor"