|
|
|
@ -30,17 +30,17 @@ jobs: |
|
|
|
|
|
|
|
|
|
- restore_cache: |
|
|
|
|
keys: |
|
|
|
|
- v6-mix-compile-{{ checksum "OTP_VERSION.lock" }}-{{ checksum "ELIXIR_VERSION.lock" }}-{{ checksum "mix.lock" }} |
|
|
|
|
- v6-mix-compile-{{ checksum "OTP_VERSION.lock" }}-{{ checksum "ELIXIR_VERSION.lock" }}-{{ checksum "mix.exs" }} |
|
|
|
|
- v6-mix-compile-{{ checksum "OTP_VERSION.lock" }}-{{ checksum "ELIXIR_VERSION.lock" }} |
|
|
|
|
- v7-mix-compile-{{ checksum "OTP_VERSION.lock" }}-{{ checksum "ELIXIR_VERSION.lock" }}-{{ checksum "mix.lock" }} |
|
|
|
|
- v7-mix-compile-{{ checksum "OTP_VERSION.lock" }}-{{ checksum "ELIXIR_VERSION.lock" }}-{{ checksum "mix.exs" }} |
|
|
|
|
- v7-mix-compile-{{ checksum "OTP_VERSION.lock" }}-{{ checksum "ELIXIR_VERSION.lock" }} |
|
|
|
|
|
|
|
|
|
- run: mix deps.get |
|
|
|
|
|
|
|
|
|
- restore_cache: |
|
|
|
|
keys: |
|
|
|
|
- v6-npm-install-{{ .Branch }}-{{ checksum "apps/block_scout_web/assets/package-lock.json" }} |
|
|
|
|
- v6-npm-install-{{ .Branch }} |
|
|
|
|
- v6-npm-install |
|
|
|
|
- v7-npm-install-{{ .Branch }}-{{ checksum "apps/block_scout_web/assets/package-lock.json" }} |
|
|
|
|
- v7-npm-install-{{ .Branch }} |
|
|
|
|
- v7-npm-install |
|
|
|
|
|
|
|
|
|
- run: |
|
|
|
|
command: npm install |
|
|
|
@ -61,13 +61,13 @@ jobs: |
|
|
|
|
working_directory: "apps/block_scout_web/assets" |
|
|
|
|
|
|
|
|
|
- save_cache: |
|
|
|
|
key: v6-npm-install-{{ .Branch }}-{{ checksum "apps/block_scout_web/assets/package-lock.json" }} |
|
|
|
|
key: v7-npm-install-{{ .Branch }}-{{ checksum "apps/block_scout_web/assets/package-lock.json" }} |
|
|
|
|
paths: "apps/block_scout_web/assets/node_modules" |
|
|
|
|
- save_cache: |
|
|
|
|
key: v6-npm-install-{{ .Branch }} |
|
|
|
|
key: v7-npm-install-{{ .Branch }} |
|
|
|
|
paths: "apps/block_scout_web/assets/node_modules" |
|
|
|
|
- save_cache: |
|
|
|
|
key: v6-npm-install |
|
|
|
|
key: v7-npm-install |
|
|
|
|
paths: "apps/block_scout_web/assets/node_modules" |
|
|
|
|
|
|
|
|
|
- run: mix compile |
|
|
|
@ -80,17 +80,17 @@ jobs: |
|
|
|
|
# `deps` needs to be cached with `_build` because `_build` will symlink into `deps` |
|
|
|
|
|
|
|
|
|
- save_cache: |
|
|
|
|
key: v6-mix-compile-{{ checksum "OTP_VERSION.lock" }}-{{ checksum "ELIXIR_VERSION.lock" }}-{{ checksum "mix.lock" }} |
|
|
|
|
key: v7-mix-compile-{{ checksum "OTP_VERSION.lock" }}-{{ checksum "ELIXIR_VERSION.lock" }}-{{ checksum "mix.lock" }} |
|
|
|
|
paths: |
|
|
|
|
- deps |
|
|
|
|
- _build |
|
|
|
|
- save_cache: |
|
|
|
|
key: v6-mix-compile-{{ checksum "OTP_VERSION.lock" }}-{{ checksum "ELIXIR_VERSION.lock" }}-{{ checksum "mix.exs" }} |
|
|
|
|
key: v7-mix-compile-{{ checksum "OTP_VERSION.lock" }}-{{ checksum "ELIXIR_VERSION.lock" }}-{{ checksum "mix.exs" }} |
|
|
|
|
paths: |
|
|
|
|
- deps |
|
|
|
|
- _build |
|
|
|
|
- save_cache: |
|
|
|
|
key: v6-mix-compile-{{ checksum "OTP_VERSION.lock" }}-{{ checksum "ELIXIR_VERSION.lock" }} |
|
|
|
|
key: v7-mix-compile-{{ checksum "OTP_VERSION.lock" }}-{{ checksum "ELIXIR_VERSION.lock" }} |
|
|
|
|
paths: |
|
|
|
|
- deps |
|
|
|
|
- _build |
|
|
|
@ -188,9 +188,9 @@ jobs: |
|
|
|
|
|
|
|
|
|
- restore_cache: |
|
|
|
|
keys: |
|
|
|
|
- v6-mix-dailyzer-{{ checksum "OTP_VERSION.lock" }}-{{ checksum "ELIXIR_VERSION.lock" }}-{{ checksum "mix.lock" }} |
|
|
|
|
- v6-mix-dialyzer-{{ checksum "OTP_VERSION.lock" }}-{{ checksum "ELIXIR_VERSION.lock" }}-{{ checksum "mix.exs" }} |
|
|
|
|
- v6-mix-dialyzer-{{ checksum "OTP_VERSION.lock" }}-{{ checksum "ELIXIR_VERSION.lock" }} |
|
|
|
|
- v7-mix-dailyzer-{{ checksum "OTP_VERSION.lock" }}-{{ checksum "ELIXIR_VERSION.lock" }}-{{ checksum "mix.lock" }} |
|
|
|
|
- v7-mix-dialyzer-{{ checksum "OTP_VERSION.lock" }}-{{ checksum "ELIXIR_VERSION.lock" }}-{{ checksum "mix.exs" }} |
|
|
|
|
- v7-mix-dialyzer-{{ checksum "OTP_VERSION.lock" }}-{{ checksum "ELIXIR_VERSION.lock" }} |
|
|
|
|
|
|
|
|
|
- run: |
|
|
|
|
name: Unpack PLT cache |
|
|
|
@ -210,15 +210,15 @@ jobs: |
|
|
|
|
cp ~/.mix/dialyxir*.plt plts/ |
|
|
|
|
|
|
|
|
|
- save_cache: |
|
|
|
|
key: v6-mix-dialyzer-{{ checksum "OTP_VERSION.lock" }}-{{ checksum "ELIXIR_VERSION.lock" }}-{{ checksum "mix.lock" }} |
|
|
|
|
key: v7-mix-dialyzer-{{ checksum "OTP_VERSION.lock" }}-{{ checksum "ELIXIR_VERSION.lock" }}-{{ checksum "mix.lock" }} |
|
|
|
|
paths: |
|
|
|
|
- plts |
|
|
|
|
- save_cache: |
|
|
|
|
key: v6-mix-dialyzer-{{ checksum "OTP_VERSION.lock" }}-{{ checksum "ELIXIR_VERSION.lock" }}-{{ checksum "mix.exs" }} |
|
|
|
|
key: v7-mix-dialyzer-{{ checksum "OTP_VERSION.lock" }}-{{ checksum "ELIXIR_VERSION.lock" }}-{{ checksum "mix.exs" }} |
|
|
|
|
paths: |
|
|
|
|
- plts |
|
|
|
|
- save_cache: |
|
|
|
|
key: v6-mix-dialyzer-{{ checksum "OTP_VERSION.lock" }}-{{ checksum "ELIXIR_VERSION.lock" }} |
|
|
|
|
key: v7-mix-dialyzer-{{ checksum "OTP_VERSION.lock" }}-{{ checksum "ELIXIR_VERSION.lock" }} |
|
|
|
|
paths: |
|
|
|
|
- plts |
|
|
|
|
|
|
|
|
|