From b06f4b6ebe323b8c0b4edcc961fbf4abb5a68bcd Mon Sep 17 00:00:00 2001 From: Sean Callan Date: Wed, 17 Jan 2024 17:27:17 -0500 Subject: [PATCH] chore: remove circleci, update tools-version (#438) --- .circleci/config.yml | 59 -------------------------------------------- .tool-versions | 4 +-- 2 files changed, 2 insertions(+), 61 deletions(-) delete mode 100644 .circleci/config.yml diff --git a/.circleci/config.yml b/.circleci/config.yml deleted file mode 100644 index 118f3de..0000000 --- a/.circleci/config.yml +++ /dev/null @@ -1,59 +0,0 @@ -version: 2 -jobs: - build: - parallelism: 1 - docker: - - image: circleci/elixir:1.7.4 - environment: - MIX_ENV: test - - image: circleci/postgres:13 - environment: - POSTGRES_USER: postgres - POSTGRES_DB: ex_machina_test - POSTGRES_PASSWORD: - - working_directory: ~/app - - steps: - - checkout - - - run: mix local.hex --force - - run: mix local.rebar --force - - - restore_cache: - keys: - - v2-mix-cache-{{ .Branch }}-{{ checksum "mix.lock" }} - - v2-mix-cache-{{ .Branch }} - - v2-mix-cache - - restore_cache: - keys: - - v2-build-cache-{{ .Branch }}-{{ checksum ".tool-versions" }} - - v2-build-cache-{{ .Branch }} - - v2-build-cache - - run: mix do deps.get, compile --warnings-as-errors - - save_cache: - key: v2-mix-cache-{{ .Branch }}-{{ checksum "mix.lock" }} - paths: "deps" - - save_cache: - key: v2-mix-cache-{{ .Branch }} - paths: "deps" - - save_cache: - key: v2-mix-cache - paths: "deps" - - save_cache: - key: v2-build-cache-{{ .Branch }}-{{ checksum ".tool-versions" }} - paths: "_build" - - save_cache: - key: v2-build-cache-{{ .Branch }} - paths: "_build" - - save_cache: - key: v2-build-cache - paths: "_build" - - - run: mix format --check-formatted - - - run: - name: Wait for DB - command: dockerize -wait tcp://localhost:5432 -timeout 1m - - - run: mix test diff --git a/.tool-versions b/.tool-versions index 8c647a8..f14e1e3 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1,2 +1,2 @@ -elixir 1.7.4-otp-21 -erlang 21.0 +elixir 1.15.4-otp-25 +erlang 25.3.2.5