Skip to content

Commit a52e973

Browse files
committed
ci: build on otp 25
1 parent 873c5b0 commit a52e973

File tree

2 files changed

+12
-6
lines changed

2 files changed

+12
-6
lines changed

.circleci/config.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ install_system_deps: &install_system_deps
1919
apk add build-base linux-headers
2020
2121
jobs:
22-
build_elixir_1_13_otp_24:
22+
build_elixir_1_13_otp_25:
2323
docker:
24-
- image: hexpm/elixir:1.13.3-erlang-24.2.1-alpine-3.15.0
24+
- image: hexpm/elixir:1.13.4-erlang-25.0-alpine-3.15.4
2525
<<: *defaults
2626
steps:
2727
- checkout
@@ -125,7 +125,7 @@ workflows:
125125
version: 2
126126
build_test:
127127
jobs:
128-
- build_elixir_1_13_otp_24
128+
- build_elixir_1_13_otp_25
129129
- build_elixir_1_12_otp_24
130130
- build_elixir_1_11_otp_23
131131
- build_elixir_1_10_otp_23

mix.exs

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,7 @@ defmodule Circuits.GPIO.MixProject do
2222
aliases: [format: [&format_c/1, "format"]],
2323
start_permanent: Mix.env() == :prod,
2424
build_embedded: true,
25-
dialyzer: [
26-
flags: [:unmatched_returns, :error_handling, :race_conditions, :underspecs]
27-
],
25+
dialyzer: dialyzer(),
2826
deps: deps(@elixir_version),
2927
preferred_cli_env: %{
3028
docs: :docs,
@@ -75,6 +73,14 @@ defmodule Circuits.GPIO.MixProject do
7573
]
7674
end
7775

76+
defp dialyzer() do
77+
[
78+
flags: [:missing_return, :extra_return, :unmatched_returns, :error_handling, :underspecs],
79+
list_unused_filters: true,
80+
plt_file: {:no_warn, "_build/plts/dialyzer.plt"}
81+
]
82+
end
83+
7884
defp docs do
7985
[
8086
assets: "assets",

0 commit comments

Comments
 (0)