From abba5f08371e923af86a04794e06f15d92a3aaf7 Mon Sep 17 00:00:00 2001 From: Trey Pendragon Date: Fri, 19 Jul 2024 14:06:00 -0700 Subject: [PATCH] oops. --- .circleci/config.yml | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index cdb613a9..247263d0 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -9,7 +9,7 @@ executors: docker: - image: cimg/elixir:1.16.2-erlang-26.2.1-browsers environment: - POSTGRES_PORT: 5432 + TEST_POSTGRES_PORT: 5432 - image: cimg/postgres:15.2 working_directory: ~/project @@ -21,6 +21,15 @@ commands: type: boolean default: true steps: + - restore_cache: + keys: + - v1-mix-cache-{{ .Branch }}-{{ checksum "mix.lock" }} + - v1-mix-cache-{{ .Branch }} + - v1-mix-cache + - restore_cache: + keys: + - v1-build-cache-{{ .Branch }} + - v1-build-cache - run: name: Install hex command: mix local.hex --force @@ -36,6 +45,21 @@ commands: - run: name: Install npm deps command: npm install --prefix=./assets + - save_cache: + key: v1-mix-cache-{{ .Branch }}-{{ checksum "mix.lock" }} + paths: "deps" + - save_cache: + key: v1-mix-cache-{{ .Branch }} + paths: "deps" + - save_cache: + key: v1-mix-cache + paths: "deps" + - save_cache: + key: v1-build-cache-{{ .Branch }} + paths: "_build" + - save_cache: + key: v1-build-cache + paths: "_build" mix-format: description: Validates code has been formatted with mix format