Skip to content

Commit

Permalink
Try changing CI slightly
Browse files Browse the repository at this point in the history
Try changing CI slightly so that we have similar structures in both
steps.
  • Loading branch information
jrusso1020 committed Jun 20, 2020
1 parent 2cbf996 commit be7b7d4
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ jobs: # basic units of work in a run

steps: # commands that comprise the `build` job
- checkout # check out source code to working directory
- run:
name: Get dependencies
command: |
mix local.hex --force
mix local.rebar --force
- restore_cache: # restores saved mix cache
# Read about caching dependencies: https://circleci.com/docs/2.0/caching/
keys: # list of cache keys, in decreasing specificity
Expand All @@ -22,8 +27,6 @@ jobs: # basic units of work in a run
- run: # compile credo and its dependencies so that Mix does not try to compile the entire world in order to find the `credo` task.
name: Get dependencies and check lint
command: |
mix local.hex --force
mix local.rebar --force
echo "--- Install Dependencies"
mix deps.get
Expand Down

0 comments on commit be7b7d4

Please sign in to comment.