WIP: Improve CircleCI by caching gems and not updating homebrew
This commit is contained in:
parent
c910164c1e
commit
e72e809761
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue