Skip to content

Commit

Permalink
oops.
Browse files Browse the repository at this point in the history
  • Loading branch information
tpendragon committed Jul 19, 2024
1 parent c2f8a11 commit abba5f0
Showing 1 changed file with 25 additions and 1 deletion.
26 changes: 25 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit abba5f0

Please sign in to comment.