Skip to content

Commit 2a974c2

Browse files
committed
Update all dependencies
1 parent a6c10fb commit 2a974c2

File tree

2 files changed

+51
-66
lines changed

2 files changed

+51
-66
lines changed

.circleci/config.yml

Lines changed: 43 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -1,75 +1,60 @@
1-
version: 2
1+
version: 2.1
22

3-
defaults: &defaults
4-
working_directory: ~/repo
5-
environment:
6-
LC_ALL: C.UTF-8
7-
8-
install_hex_rebar: &install_hex_rebar
9-
run:
10-
name: Install hex and rebar
11-
command: |
12-
mix local.hex --force
13-
mix local.rebar --force
14-
15-
install_system_deps: &install_system_deps
16-
run:
17-
name: Install system dependencies
18-
command: |
19-
apk add build-base
3+
latest: &latest
4+
pattern: "^1.15.6-erlang-26.*$"
205

216
jobs:
22-
build_elixir_1_14_otp_25:
7+
build-test:
8+
parameters:
9+
tag:
10+
type: string
2311
docker:
24-
- image: hexpm/elixir:1.14.0-erlang-25.0.4-alpine-3.16.1
25-
<<: *defaults
12+
- image: hexpm/elixir:<< parameters.tag >>
13+
working_directory: ~/repo
14+
environment:
15+
LC_ALL: C.UTF-8
2616
steps:
17+
- run:
18+
name: Install system dependencies
19+
command: apk add --no-cache build-base
2720
- checkout
28-
- <<: *install_hex_rebar
29-
- <<: *install_system_deps
21+
- run:
22+
name: Install hex and rebar
23+
command: |
24+
mix local.hex --force
25+
mix local.rebar --force
3026
- restore_cache:
3127
keys:
32-
- v1-mix-cache-{{ checksum "mix.lock" }}
28+
- v1-mix-cache-<< parameters.tag >>-{{ checksum "mix.lock" }}
3329
- run: mix deps.get
34-
- run: mix format --check-formatted
35-
- run: mix deps.unlock --check-unused
36-
- run: mix docs
37-
- run: mix hex.build
30+
- run: MIX_ENV=test mix compile --warnings-as-errors
3831
- run: mix test
39-
- run: mix credo -a
40-
- run: mix dialyzer
32+
- when:
33+
condition:
34+
matches: { <<: *latest, value: << parameters.tag >> }
35+
steps:
36+
- run: mix format --check-formatted
37+
- run: mix deps.unlock --check-unused
38+
- run: mix docs
39+
- run: mix hex.build
40+
- run: mix credo -a --strict
41+
- run: mix dialyzer
4142
- save_cache:
42-
key: v1-mix-cache-{{ checksum "mix.lock" }}
43+
key: v1-mix-cache-<< parameters.tag >>-{{ checksum "mix.lock" }}
4344
paths:
4445
- _build
4546
- deps
4647

47-
build_elixir_1_13_otp_25:
48-
docker:
49-
- image: hexpm/elixir:1.13.4-erlang-25.0.4-alpine-3.16.1
50-
<<: *defaults
51-
steps:
52-
- checkout
53-
- <<: *install_hex_rebar
54-
- <<: *install_system_deps
55-
- run: mix deps.get
56-
- run: mix test
57-
58-
build_elixir_1_12_otp_24:
59-
docker:
60-
- image: hexpm/elixir:1.12.3-erlang-24.3.4-alpine-3.15.3
61-
<<: *defaults
62-
steps:
63-
- checkout
64-
- <<: *install_hex_rebar
65-
- <<: *install_system_deps
66-
- run: mix deps.get
67-
- run: mix test
68-
6948
workflows:
70-
version: 2
71-
build_test:
49+
checks:
7250
jobs:
73-
- build_elixir_1_14_otp_25
74-
- build_elixir_1_13_otp_25
75-
- build_elixir_1_12_otp_24
51+
- build-test:
52+
name: << matrix.tag >>
53+
matrix:
54+
parameters:
55+
tag: [
56+
1.15.6-erlang-26.1.1-alpine-3.18.2,
57+
1.14.2-erlang-25.2-alpine-3.17.0,
58+
1.13.4-erlang-24.3.4-alpine-3.15.3,
59+
1.12.3-erlang-24.3.4-alpine-3.15.3
60+
]

mix.lock

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
%{
22
"bunt": {:hex, :bunt, "0.2.1", "e2d4792f7bc0ced7583ab54922808919518d0e57ee162901a16a1b6664ef3b14", [:mix], [], "hexpm", "a330bfb4245239787b15005e66ae6845c9cd524a288f0d141c148b02603777a5"},
3-
"credo": {:hex, :credo, "1.6.7", "323f5734350fd23a456f2688b9430e7d517afb313fbd38671b8a4449798a7854", [:mix], [{:bunt, "~> 0.2.1", [hex: :bunt, repo: "hexpm", optional: false]}, {:file_system, "~> 0.2.8", [hex: :file_system, repo: "hexpm", optional: false]}, {:jason, "~> 1.0", [hex: :jason, repo: "hexpm", optional: false]}], "hexpm", "41e110bfb007f7eda7f897c10bf019ceab9a0b269ce79f015d54b0dcf4fc7dd3"},
4-
"dialyxir": {:hex, :dialyxir, "1.2.0", "58344b3e87c2e7095304c81a9ae65cb68b613e28340690dfe1a5597fd08dec37", [:mix], [{:erlex, ">= 0.2.6", [hex: :erlex, repo: "hexpm", optional: false]}], "hexpm", "61072136427a851674cab81762be4dbeae7679f85b1272b6d25c3a839aff8463"},
5-
"earmark_parser": {:hex, :earmark_parser, "1.4.28", "0bf6546eb7cd6185ae086cbc5d20cd6dbb4b428aad14c02c49f7b554484b4586", [:mix], [], "hexpm", "501cef12286a3231dc80c81352a9453decf9586977f917a96e619293132743fb"},
3+
"credo": {:hex, :credo, "1.7.1", "6e26bbcc9e22eefbff7e43188e69924e78818e2fe6282487d0703652bc20fd62", [:mix], [{:bunt, "~> 0.2.1", [hex: :bunt, repo: "hexpm", optional: false]}, {:file_system, "~> 0.2.8", [hex: :file_system, repo: "hexpm", optional: false]}, {:jason, "~> 1.0", [hex: :jason, repo: "hexpm", optional: false]}], "hexpm", "e9871c6095a4c0381c89b6aa98bc6260a8ba6addccf7f6a53da8849c748a58a2"},
4+
"dialyxir": {:hex, :dialyxir, "1.4.1", "a22ed1e7bd3a3e3f197b68d806ef66acb61ee8f57b3ac85fc5d57354c5482a93", [:mix], [{:erlex, ">= 0.2.6", [hex: :erlex, repo: "hexpm", optional: false]}], "hexpm", "84b795d6d7796297cca5a3118444b80c7d94f7ce247d49886e7c291e1ae49801"},
5+
"earmark_parser": {:hex, :earmark_parser, "1.4.37", "2ad73550e27c8946648b06905a57e4d454e4d7229c2dafa72a0348c99d8be5f7", [:mix], [], "hexpm", "6b19783f2802f039806f375610faa22da130b8edc21209d0bff47918bb48360e"},
66
"erlex": {:hex, :erlex, "0.2.6", "c7987d15e899c7a2f34f5420d2a2ea0d659682c06ac607572df55a43753aa12e", [:mix], [], "hexpm", "2ed2e25711feb44d52b17d2780eabf998452f6efda104877a3881c2f8c0c0c75"},
7-
"ex_doc": {:hex, :ex_doc, "0.28.6", "2bbd7a143d3014fc26de9056793e97600ae8978af2ced82c2575f130b7c0d7d7", [:mix], [{:earmark_parser, "~> 1.4.19", [hex: :earmark_parser, repo: "hexpm", optional: false]}, {:makeup_elixir, "~> 0.14", [hex: :makeup_elixir, repo: "hexpm", optional: false]}, {:makeup_erlang, "~> 0.1", [hex: :makeup_erlang, repo: "hexpm", optional: false]}], "hexpm", "bca1441614654710ba37a0e173079273d619f9160cbcc8cd04e6bd59f1ad0e29"},
7+
"ex_doc": {:hex, :ex_doc, "0.30.6", "5f8b54854b240a2b55c9734c4b1d0dd7bdd41f71a095d42a70445c03cf05a281", [:mix], [{:earmark_parser, "~> 1.4.31", [hex: :earmark_parser, repo: "hexpm", optional: false]}, {:makeup_elixir, "~> 0.14", [hex: :makeup_elixir, repo: "hexpm", optional: false]}, {:makeup_erlang, "~> 0.1", [hex: :makeup_erlang, repo: "hexpm", optional: false]}], "hexpm", "bd48f2ddacf4e482c727f9293d9498e0881597eae6ddc3d9562bd7923375109f"},
88
"file_system": {:hex, :file_system, "0.2.10", "fb082005a9cd1711c05b5248710f8826b02d7d1784e7c3451f9c1231d4fc162d", [:mix], [], "hexpm", "41195edbfb562a593726eda3b3e8b103a309b733ad25f3d642ba49696bf715dc"},
9-
"jason": {:hex, :jason, "1.4.0", "e855647bc964a44e2f67df589ccf49105ae039d4179db7f6271dfd3843dc27e6", [:mix], [{:decimal, "~> 1.0 or ~> 2.0", [hex: :decimal, repo: "hexpm", optional: true]}], "hexpm", "79a3791085b2a0f743ca04cec0f7be26443738779d09302e01318f97bdb82121"},
9+
"jason": {:hex, :jason, "1.4.1", "af1504e35f629ddcdd6addb3513c3853991f694921b1b9368b0bd32beb9f1b63", [:mix], [{:decimal, "~> 1.0 or ~> 2.0", [hex: :decimal, repo: "hexpm", optional: true]}], "hexpm", "fbb01ecdfd565b56261302f7e1fcc27c4fb8f32d56eab74db621fc154604a7a1"},
1010
"makeup": {:hex, :makeup, "1.1.0", "6b67c8bc2882a6b6a445859952a602afc1a41c2e08379ca057c0f525366fc3ca", [:mix], [{:nimble_parsec, "~> 1.2.2 or ~> 1.3", [hex: :nimble_parsec, repo: "hexpm", optional: false]}], "hexpm", "0a45ed501f4a8897f580eabf99a2e5234ea3e75a4373c8a52824f6e873be57a6"},
11-
"makeup_elixir": {:hex, :makeup_elixir, "0.16.0", "f8c570a0d33f8039513fbccaf7108c5d750f47d8defd44088371191b76492b0b", [:mix], [{:makeup, "~> 1.0", [hex: :makeup, repo: "hexpm", optional: false]}, {:nimble_parsec, "~> 1.2.3", [hex: :nimble_parsec, repo: "hexpm", optional: false]}], "hexpm", "28b2cbdc13960a46ae9a8858c4bebdec3c9a6d7b4b9e7f4ed1502f8159f338e7"},
12-
"makeup_erlang": {:hex, :makeup_erlang, "0.1.1", "3fcb7f09eb9d98dc4d208f49cc955a34218fc41ff6b84df7c75b3e6e533cc65f", [:mix], [{:makeup, "~> 1.0", [hex: :makeup, repo: "hexpm", optional: false]}], "hexpm", "174d0809e98a4ef0b3309256cbf97101c6ec01c4ab0b23e926a9e17df2077cbb"},
13-
"nimble_parsec": {:hex, :nimble_parsec, "1.2.3", "244836e6e3f1200c7f30cb56733fd808744eca61fd182f731eac4af635cc6d0b", [:mix], [], "hexpm", "c8d789e39b9131acf7b99291e93dae60ab48ef14a7ee9d58c6964f59efb570b0"},
11+
"makeup_elixir": {:hex, :makeup_elixir, "0.16.1", "cc9e3ca312f1cfeccc572b37a09980287e243648108384b97ff2b76e505c3555", [:mix], [{:makeup, "~> 1.0", [hex: :makeup, repo: "hexpm", optional: false]}, {:nimble_parsec, "~> 1.2.3 or ~> 1.3", [hex: :nimble_parsec, repo: "hexpm", optional: false]}], "hexpm", "e127a341ad1b209bd80f7bd1620a15693a9908ed780c3b763bccf7d200c767c6"},
12+
"makeup_erlang": {:hex, :makeup_erlang, "0.1.2", "ad87296a092a46e03b7e9b0be7631ddcf64c790fa68a9ef5323b6cbb36affc72", [:mix], [{:makeup, "~> 1.0", [hex: :makeup, repo: "hexpm", optional: false]}], "hexpm", "f3f5a1ca93ce6e092d92b6d9c049bcda58a3b617a8d888f8e7231c85630e8108"},
13+
"nimble_parsec": {:hex, :nimble_parsec, "1.3.1", "2c54013ecf170e249e9291ed0a62e5832f70a476c61da16f6aac6dca0189f2af", [:mix], [], "hexpm", "2682e3c0b2eb58d90c6375fc0cc30bc7be06f365bf72608804fb9cffa5e1b167"},
1414
}

0 commit comments

Comments
 (0)