Upgrade elixir and erlang runtimes #83

Merged
joao.dubas merged 26 commits from jpd-feat-upgrade-runtimes into main 2024-07-08 21:04:27 +00:00
5 changed files with 50 additions and 33 deletions
Showing only changes of commit a04704cad4 - Show all commits

View File

@@ -44,6 +44,8 @@ steps:
POSTGRES_USER: &db_user postgres
POSTGRES_PASS: &db_pass postgres
commands:
- apt-get update
- apt-get install -y git
- mix do local.rebar --force, local.hex --force, deps.get, deps.compile
- mix compile
- mix test --cover --trace --slowest 10
@@ -107,6 +109,8 @@ steps:
- name: compile app
image: &elixir 'hexpm/elixir:1.17.2-erlang-27.0-debian-bookworm-20240701-slim'
commands:
- apt-get update
- apt-get install -y git
- mix do local.rebar --force, local.hex --force, deps.get, deps.compile
- mix compile --all-warnings --warnings-as-errors
@@ -124,24 +128,32 @@ steps:
- name: format check
image: *elixir
commands:
- apt-get update
- apt-get install -y git
- mix do local.rebar --force, local.hex --force, deps.get, deps.compile
- mix format --dry-run --check-formatted
- name: credo check
image: *elixir
commands:
- apt-get update
- apt-get install -y git
- mix do local.rebar --force, local.hex --force, deps.get, deps.compile
- mix credo suggest --strict --format=flycheck
- name: dialyzer check
image: *elixir
commands:
- apt-get update
- apt-get install -y git
- mix do local.rebar --force, local.hex --force, deps.get, deps.compile
- mix dialyzer --no-check --quiet --ignore-exit-status --format short
- name: sobelow check
image: *elixir
commands:
- apt-get update
- apt-get install -y git
- mix do local.rebar --force, local.hex --force, deps.get, deps.compile
- mix sobelow